For 'N' hours I was facing problem with my visual studio 2012 IDE trying to debug an DLL. Somehow it stopped debugging (i.e. code will not stop at any of the breakpoints I placed). I was using external Exe (using Project-> Debug-> Start External Program) to do so. It was working perfectly fine and all of sudden it stopped debugging. I tried every trick google, microsoft and Stackoverflow could throw at me without any luck. Then I stumbled upon old blog entry written by Steven Wouters which did the trick for me...
Common issues I faced -
From the blog of Steven Wouters
Am i stupid? No i´m not! But now and then i make stupid mistakes. This is defenitily one off those which costed me an awfull lot of time!
What happened? Suddenly, without any obvious reason, i could't debug in Visual Studio .Net 2003 anymore. I didn't do anything, it just happened. (that's what i thought. Yes i know; nothing ever just happens, but ...)
When i started debugging i saw for the system dll´s "No symbols loaded".
For my own dll's "No native symbols in symbol file" appeared. This didn't ring a bell!
So i started looking on the net, couln't find anything that helped me. ...
And then, after ... i don't want to tell you how much time i lost with this, despite all, i started debugging again, looked at the popup that you get when you press attach to a proces, and saw that only "Native" was checked and not "Common Language Runtime".
Aaaaahhhh! In the beginning i was really desperate, but now, five fingernails later, i'm glad i found it! Finally i will sleep again tonight!
Common issues I faced -
- The symbol xxxx does not match the module
- No native symbols in symbol file
- debugging information for cannot be found
- vs 2012 stopped debugging code
From the blog of Steven Wouters
Debugging in Visual Studio .Net 2003
What happened? Suddenly, without any obvious reason, i could't debug in Visual Studio .Net 2003 anymore. I didn't do anything, it just happened. (that's what i thought. Yes i know; nothing ever just happens, but ...)
When i started debugging i saw for the system dll´s "No symbols loaded".
For my own dll's "No native symbols in symbol file" appeared. This didn't ring a bell!
So i started looking on the net, couln't find anything that helped me. ...
And then, after ... i don't want to tell you how much time i lost with this, despite all, i started debugging again, looked at the popup that you get when you press attach to a proces, and saw that only "Native" was checked and not "Common Language Runtime".
Aaaaahhhh! In the beginning i was really desperate, but now, five fingernails later, i'm glad i found it! Finally i will sleep again tonight!
Comments