Author Topic: How do I view the assembly code of my C++?  (Read 9156 times)

Offline SuperBoi45

  • Multiple posting newcomer
  • *
  • Posts: 14
How do I view the assembly code of my C++?
« on: September 18, 2012, 06:12:35 pm »
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

  • Guest
Re: How do I view the assembly code of my C++?
« Reply #1 on: September 18, 2012, 06:19:02 pm »
It's one of the debugger windows. It will only show assembler code when you are debugging.

Offline SuperBoi45

  • Multiple posting newcomer
  • *
  • Posts: 14
Re: How do I view the assembly code of my C++?
« Reply #2 on: September 18, 2012, 06:20:55 pm »
How do I debug? Sorry, I'm new to Codeblocks and C++. Please reply with detail! :)

zabzonk

  • Guest
Re: How do I view the assembly code of my C++?
« Reply #3 on: September 18, 2012, 06:31:20 pm »
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.