[英]Jump to current line being executed in cgdb
Is it possible to jump to current line being executed in the Source Window of cgdb
?是否可以跳转到 cgdb 的 Source
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.如果有一个命令或快捷方式可以做到这一点,那就太好了,尤其是在文件对话框模式下浏览了很长时间的文件之后。
原来你可以轻松跳转到当前行:只需使用不带参数的gdb frame
命令,或者只使用f
。
I don't think we have a shortcut for it. 我认为我们没有捷径。 I usually do a quick
up
and down
(or vice versa) in gdb. 我通常做一个快速的
up
和down
在gdb(反之亦然)。
You can use '.
你可以使用
'.
. . Please please See https://github.com/cgdb/cgdb/issues/53
请参见https://github.com/cgdb/cgdb/issues/53
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.