QtCreator QNX 调试器问题

问题描述

当 QtCreator 尝试向调试会话添加一些 gdb 命令时发生了奇怪的事情,如下所示:

>GNU gdb (GDB) 7.6.1 qnx (rev. 863)
>copyright (C) 2013 Free Software Foundation,Inc.
>License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
>This is free software: you are free to change and redistribute it.
>There is NO WARRANTY,to the extent permitted by law.  Type "show copying"
>and "show warranty" for details.
>This GDB was configured as "--host=i686-pc-linux-gnu --target=i486-pc-nto-qnx6.6.0".
dUNEXPECTED GDB STDERR: Undefined command: "22show".  Try "help".
dUndefined command: "23show".  Try "help".
dUndefined command: "24set".  Try "help".
dUndefined command: "25set".  Try "help".
dUndefined command: "26set".  Try "help".
dUndefined command: "27set".  Try "help".
dUndefined command: "28set".  Try "help".
dUndefined command: "29python".  Try "help".
dUndefined command: "30python".  Try "help".
dUndefined command: "31python".  Try "help".
dUndefined command: "32python".  Try "help".

也许有人可以解释为什么命令通过行号传递。谢谢。 QtCreator 的 gdb 命令输出

22show version
23show debug-file-directory
24set breakpoint pending on
25set print elements 10000
26set unwindonsignal on
27set width 0
28set height 0
Setting up inferior...
29python sys.path.insert(1,'/home/storcy2/qtcreator-4.13.1/share/qtcreator/debugger/')
30python sys.path.append('/home/storcy2/data-directory/python')
31python from gdbbridge import *
32python theDumper.loadDumpers({"token":32})
Debugging has Failed.

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)