News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

How do I view the assembly code of my C++?

Started by SuperBoi45, September 18, 2012, 06:12:35 PM

Previous topic - Next topic

SuperBoi45

I see a panel that says "Disassembly" and I click that after running my program. I expect it to show the assembly code of my C++ but it doesn't show anything at all.

[Note: It's the leftmost button that, when you put your cursor over, says "Debugging windows"]





It never shows anything. I even put in the command line argument option. But yet nothing shows up! Please, can someone help me?!

zabzonk

It's one of the debugger windows. It will only show assembler code when you are debugging.

SuperBoi45

How do I debug? Sorry, I'm new to Codeblocks and C++. Please reply with detail! :)

zabzonk

It works pretty much like debuggers everywhere. Position the editor cursor at the first statement in main(), then choose "Run To Cursor" from the Debug menu. Then mess around with the other Debug menu options to step through your code.