| |

VerySource

 Forgot password?
 Register
Search
View: 1344|Reply: 10

Questions about the compiler and debug information!

[Copy link]

1

Threads

7

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 Invalid IP Address

Post time: 2020-3-1 22:30:02
| Show all posts |Read mode
Recently, the customer has a requirement that the program entrusted to them should not have a pdb file, but when the program fails, there should still be debug information (such as the number of error lines). Personally I think it is impossible to do it, just in case Come here to ask a brother, is it possible to achieve it? If the compilation period cannot be achieved, what about the implementation period?
(Customers need to do this, because they think that if there is pdb, the program is too large, and then they need to know that if the test fails, that line is wrong! I feel very depressed, but the client strongly requested that there is no way to give them a way what!)
Reply

Use magic Report

0

Threads

11

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

Post time: 2020-5-12 09:00:01
| Show all posts
Friendship
A little difficult
Reply

Use magic Report

0

Threads

119

Posts

67.00

Credits

Newbie

Rank: 1

Credits
67.00

 China

Post time: 2020-5-12 19:45:01
| Show all posts
If the Release version shows that the number of lines in error is impossible, you can catch the exception and tell the error details in the exception
Reply

Use magic Report

0

Threads

21

Posts

16.00

Credits

Newbie

Rank: 1

Credits
16.00

 China

Post time: 2020-5-12 21:30:01
| Show all posts
Learn from Microsoft
Send back to headquarters if there is an error

If there is a PDB, don't toss people, compile with release
Reply

Use magic Report

0

Threads

119

Posts

67.00

Credits

Newbie

Rank: 1

Credits
67.00

 China

Post time: 2020-5-12 23:30:01
| Show all posts
If the Release version shows that the number of lines in error is impossible, you can catch the exception and tell the error details in the exception
Reply

Use magic Report

1

Threads

7

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 Invalid IP Address

 Author| Post time: 2020-5-13 09:30:02
| Show all posts
The program is a large-scale ERP project that has been done for 3 years. All the code adds up to millions of lines. It is impossible for all the code to be Catch plus detailed information, and it is impossible to predict what will go wrong. Big!
Reply

Use magic Report

0

Threads

64

Posts

45.00

Credits

Newbie

Rank: 1

Credits
45.00

 China

Post time: 2020-5-13 22:00:01
| Show all posts
Is difficult, top
Reply

Use magic Report

0

Threads

2

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-5-19 07:45:01
| Show all posts
This demand can try to let customers understand you.
Communicate with customers.
Reply

Use magic Report

0

Threads

10

Posts

6.00

Credits

Newbie

Rank: 1

Credits
6.00

 China

Post time: 2020-5-23 21:30:02
| Show all posts
I have also encountered
Reply

Use magic Report

1

Threads

7

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 Invalid IP Address

 Author| Post time: 2020-5-31 03:15:02
| Show all posts
Eh. . . Let the boss communicate with the customer.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list