Page 1 of 1

Request for Disassembler

Posted: Sun Jul 04, 2010 10:22 pm
by aprilmot
Good Everning,

Do we have a disassembler for CodeLite as we have it in VC++.
Basically I am interested to debug and see the assembly code of the output.
So a disassembler will help me a lot.

Please let me know if we have a disassembler for CodeLite available or if we have any plugin for the same. :?

Thank you in Advance
Regards,
Aprilmot

Re: Request for Disassembler

Posted: Mon Jul 05, 2010 3:03 pm
by DavidGH
Do we have a disassembler for CodeLite
No, (afaik) there's no dedicated display of assembly. The nearest thing is the 'memory' section of the Debugger pane, which will display the contents of a block of memory in hexadecimal.
Basically I am interested to debug and see the assembly code of the output.
So a disassembler will help me a lot.
Then you must have unusual needs. CodeLite is a C/C++ IDE, and it's rarely necessary to know what assembly code your compiler generates.

A debugger is certainly an essential, and CodeLite uses gdb. If you really do need to see low-level output, then gdb can emit it for you. CodeLite does let you send a command direct to gdb, and displays the resulting output:
  • Interrupt a running program, or hit a breakpoint.
    In the 'debug' section of the Output pane, enter disassemble or disassemble /mr in the 'Send' field, and click the send button.
    Low-level output for that section of the program will be displayed in the Output pane.
Regards,

David

Re: Request for Disassembler

Posted: Mon Jul 05, 2010 4:57 pm
by aprilmot
Dear David,

Thank you very much for you reply. I will try to use the gdb feature to produce disassembled output.

:D

Thank you and Regards
Aprilmot