Click here to Skip to main content
15,881,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a situation where I need to debug a functionality which takes input from a series of some other functionalities. As these earlier functionalities take some time, I don't want to wait for these to happen every instance I debug. Instead I like to dump the snapshot of the application, at the moment all earlier functionalities are executed. Then I want to continue debugging the functionality that I am interested in. By this way, I can start debugging my functionality instantaneously. Is this possible using DUMP files? Or do we have any option in VS2012 to achieve my requirement?

Note:
The situation is not a crash or hang.
Posted
Updated 6-Jan-16 19:51pm
v2
Comments
Jochen Arndt 7-Jan-16 7:52am    
If possible you might provide an option or build a special version (e.g. by preprocessor defines) that skips the inputs and initialises the input values with your test data.

1 solution

 
Share this answer
 
Comments
SasiKumarC 7-Jan-16 6:57am    
Hi Richard,
Here, all the search results help me only to create dump files. But my question is to use the dump and continue debugging. VS2012 throws an error while i try to step over, after loading the application session from a DUMP file.
Richard MacCutchan 7-Jan-16 7:10am    
Sorry, I have never tried it myself. You need to study some of those links.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900