'Jump to current line being executed in cgdb
Is it possible to jump to current line being executed in the Source Window of cgdb?
It would be great to have a command or a shortcut to do this, especially after browsing files in the File Dialog mode for a long time.
Solution 1:[1]
It turned out that you can jump to current line easily: just use gdb frame command without arguments, or simply f.
Solution 2:[2]
I don't think we have a shortcut for it. I usually do a quick up and down (or vice versa) in gdb.
Solution 3:[3]
You can use '.. Please please See https://github.com/cgdb/cgdb/issues/53
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 | tonyo |
| Solution 2 | Mike Mueller |
| Solution 3 | wzy |
