When debugging a c # program in vs2005, you may want to view the assembly code, memory, and registers of the C # code.
To view the disassembly code, right-click the code window and select "go to disassembly. In the assembly code window, you can follow F11 to execute code in a single step, so as to more accurately track code execution.
If you want to view the changes of the registers at the same time, click "debug"> "window"> "register" in. (This menu item is displayed only during the debugging process. For example, when the program is executed at a breakpoint, It is paused. If you still do not have a single menu item in the debugging status, click "Tools"> "Import and Export Settings" in Vs and select "reset all settings". Next, in this case, you can save the current settings or do not save them. I don't think it's okay. Next, select "Visual C # development settings" and "finish ". In this way, the "debug"-> "window"-> "register" menu items should be displayed. Remember to make sure that your program is in the debugging process .)
For details about how to view memory, click "debug"> "window"> "Memory"> "Memory 1"... "memory 4" (select one .). In the memory window, enter the address in the "Address" column and press enter to view the memory information at the address.