Request for Disassembler

CodeLite installation/troubleshooting forum
User avatar
aprilmot
CodeLite Enthusiast
Posts: 24
Joined: Sun Jul 04, 2010 1:20 pm
Genuine User: Yes
IDE Question: C++
Contact:

Request for Disassembler

Post 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
Long Live the Open Source and Humanity
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Request for Disassembler

Post 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
User avatar
aprilmot
CodeLite Enthusiast
Posts: 24
Joined: Sun Jul 04, 2010 1:20 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Request for Disassembler

Post 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
Long Live the Open Source and Humanity
Post Reply