Click here to Skip to main content
15,914,780 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
General1st grade faculty of computer science n00b Pin
lordgreg14-Mar-04 10:44
lordgreg14-Mar-04 10:44 
GeneralRe: 1st grade faculty of computer science n00b Pin
Michael Dunn14-Mar-04 12:54
sitebuilderMichael Dunn14-Mar-04 12:54 
GeneralRe: 1st grade faculty of computer science n00b Pin
lordgreg14-Mar-04 22:34
lordgreg14-Mar-04 22:34 
GeneralRe: 1st grade faculty of computer science n00b Pin
Michael Dunn15-Mar-04 4:10
sitebuilderMichael Dunn15-Mar-04 4:10 
GeneralVisual C++ .NET Disassembly Window Pin
valikac14-Mar-04 7:04
valikac14-Mar-04 7:04 
GeneralRe: Visual C++ .NET Disassembly Window Pin
Antti Keskinen14-Mar-04 10:10
Antti Keskinen14-Mar-04 10:10 
GeneralRe: Visual C++ .NET Disassembly Window Pin
valikac14-Mar-04 11:40
valikac14-Mar-04 11:40 
GeneralRe: Visual C++ .NET Disassembly Window Pin
Antti Keskinen14-Mar-04 21:11
Antti Keskinen14-Mar-04 21:11 
This is because you are "live" running the program in debug mode. In order to see the disassembly, you must set breakpoints into the code and fill the necessary requirements for the breakpoint to be reached (For example, if you set a breakpoint to a button click, you must manually click the button in order to reach the breakpoint).

If you want to step through the entire code in debug mode, you must first run the program, then choose Debug->Break All, and Debug->Restart. This will take you to the first line of assembly code in the program, and you can use F10 to step forwards through the code.

The reason why the assembly code is not shown while the program is 'live' is simple: the code would run before your eyes way too fast for you to follow it. That is why you must set breakpoints. When a break is reached, the cursor will stop on the line where the break is, and the disassembly window will show the assembly code lines residing in the vicinity of this code line, namely, the codes required to execute this procedure.

So, you can only see the assembly code line by line if you set a breakpoint and the code reaches this point. If you want to step through the entire program (which will take AGES), then use Debug->Start, Debug->Break All, Debug->Restart.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Visual C++ .NET Disassembly Window Pin
valikac15-Mar-04 5:33
valikac15-Mar-04 5:33 
Generalproblem while deleting heap memory Pin
Member 83996614-Mar-04 6:28
Member 83996614-Mar-04 6:28 
GeneralRe: problem while deleting heap memory Pin
Prakash Nadar14-Mar-04 6:40
Prakash Nadar14-Mar-04 6:40 
GeneralThreads in Classes Pin
mmica14-Mar-04 6:18
mmica14-Mar-04 6:18 
GeneralRe: Threads in Classes Pin
Prakash Nadar14-Mar-04 6:44
Prakash Nadar14-Mar-04 6:44 
GeneralRe: Threads in Classes Pin
mmica14-Mar-04 7:08
mmica14-Mar-04 7:08 
GeneralRe: Threads in Classes Pin
Michael Dunn14-Mar-04 12:57
sitebuilderMichael Dunn14-Mar-04 12:57 
GeneralRe: Threads in Classes Pin
Blake Miller17-Mar-04 7:56
Blake Miller17-Mar-04 7:56 
GeneralCRichEditCtrl and UNICODE Pin
sstoyan14-Mar-04 5:50
sstoyan14-Mar-04 5:50 
GeneralRe: CRichEditCtrl and UNICODE Pin
Steve S14-Mar-04 21:54
Steve S14-Mar-04 21:54 
GeneralRe: CRichEditCtrl and UNICODE Pin
sstoyan15-Mar-04 3:50
sstoyan15-Mar-04 3:50 
GeneralRe: CRichEditCtrl and UNICODE Pin
Steve S15-Mar-04 22:15
Steve S15-Mar-04 22:15 
GeneralRe: CRichEditCtrl and UNICODE Pin
sstoyan15-Mar-04 23:15
sstoyan15-Mar-04 23:15 
QuestionHow can i save a text string as a tga file Pin
Orochi14-Mar-04 3:39
Orochi14-Mar-04 3:39 
AnswerRe: How can i save a text string as a tga file Pin
Christian Graus14-Mar-04 15:55
protectorChristian Graus14-Mar-04 15:55 
GeneralURL Does not use a Recognized protocol Pin
muckmail14-Mar-04 2:44
muckmail14-Mar-04 2:44 
GeneralRe: URL Does not use a Recognized protocol Pin
Ravi Bhavnani14-Mar-04 9:20
professionalRavi Bhavnani14-Mar-04 9:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.