'How do I disassemble my C source in CLion?
There's a number of reasons I have for wanting to view the ASM of my C program, but from what I'm discovering, it only seems possible to view the ASM of 3rd-party modules that don't have a src.
How can I view the ASM of my src?
Solution 1:[1]
I had the same issue, but found a solution for clion. It however requires that you have the GDB debuggger.
- Set a breakpoint in the function that you want to disassemble
- Run the debugger
- When the breakpoint is hit, look down on in the debugger window, on the right panel, you should see GDB. Click on it
- Type:
disassemble - The disassembly of the function should be printed out in the same panel
- Enjoy.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Score_Under |
