Search code examples
debuggingvisual-studio-2008disassembly

How do I turn debugging in disassembly off permanently?


Whilst debugging a console app in c# and VS2008, disassembly window appears uninvited.

I am debugging my code line by line using F11. I have break points set and it starts off well then after a call in a method to open database connection, the debugger opens disassembly window and stays there. I have right-clicked on disassembly tab and selected hide but the window pops again as soon as I hit F11.

How do I turn debugging in disassembly off permanently?


Solution

  • Go to Debug->Options and Settings, uncheck the box for Enable address-level debugging and that should do what you want.

    enter image description here

    You also may want to check Enable Just My Code if it is not checked.