saving state of debugger in visual studio 2005
Is there any way to save the state of debugger in vs2005 ?
I worked really long to reproduce some bug , and I want to save re reproduction , that latter I will be able to load it开发者_C百科 again.
Any idea if it is possible ?
Thanks .
You can generate a dump from within Visual Studio and reload it later for further analysis, but it is only a static view. However, you can't have a dynamic view unless you use Intellitrace only available on Visual Studio 2010 Ultimate (Intellitrace is only available for managed applications, not native ones).
Save the (im assuming .cpp) file in a different location then where it saves when you build your project. Open it back up when you want to see the code that caused the bug. I'm not sure of anyway to save the debugger directly but this should work for you.
This might help you: http://msdn.microsoft.com/en-us/library/aa290350%28v=vs.71%29.aspx#vstchdebugginginvisualstudionetanchor5
-Panda
精彩评论