cs01 / cs01/gdbgui

Is it possible to see a separate window for the assembly?

Open
#488 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
10.4k
Forks
521
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
I had to debug an executable made with pretty heavy optimizations. Regular stepping through the source code didn't let me understand what's the problem, since a single step just went out of an entire function. What helped me is to step through the assembly. I wanted to use gdbgui, but couldn't find a way to view only the assembly. At the end I used the gdb TUI, which lets me see two separate panes, one with the source code and one with the assembly.

If such a view is already available in gdbgui, then I suggest adding something about it to the documentation. If it isn't available, then it would be a very useful feature for me!

**Describe the solution you'd like**
I would like to have 2 separate panes, one with the source code (as there is now), and one with the assembly, both progressing separately.

**Describe alternatives you've considered**
I saw in screenshots the option of having the assembly together with the source code in the same pane. I don't think I managed to get that, and anyway, I don't see how it would have looked, since when stepping through the assembly, the active line jumps back and forth, so it's not a simple matter of linearly translating each line to a few assembly lines.

**Additional context**
I wasn't sure how to ask this. Perhaps add another category for questions, in addition to bug reports and feature requests?

Thanks a lot!
Noam

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.