User forums > Help

How to view an assembly code while debugging?

<< < (4/5) > >>

BlueHazzard:

--- Quote from: visir on May 30, 2017, 10:03:12 am --- It's possible to type my own commands in that debugging log window in codeblocks?

--- End quote ---
Yes it is possible after the debugger stopped, you can enter commands in the text field below the log.

visir:
Okay, so I'm typing this in codeblocks log now.

This works:

--- Code: ---disassemble 0x401690
--- End code ---

This also works:

--- Code: ---info frame
--- End code ---

This doesn't:

--- Code: ---if 1
disassemble 0x401690
info frame
end
--- End code ---

It's like "end" doesn't work, it never gets out of that if.

visir:
Anybody knows why I can't send an empty line to the debugger? I feel like I only need to press enter one extra time for it to work, but interface just wouldn't let me.

oBFusCATed:
Because empty lines repeat the last command and doesn't make much sense.
Does the complex sequence of commands work when running from terminal?

visir:
Yes, though I have to press enter twice for some reason. I actually already said this in Reply #9.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version