Qtcreator remote debugging appear "The selected build of GDB does not support Python scripting.It can not be used .."

 

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/aristolto/article/details/77370853

    Before using Qt4.7 later replaced Qt5.x, version 4.0 Qtcreator of use, use remote debugging found Qtcreator appears "The selected build of GDB does not support Python scripting.It can not be used in Qt Creator."

    Gdb does not mean support for Python scripts no longer Qtcreator used. There are questions to ask of your mother looking for a long finally found a solution to the problem to share:

    sudo apt-get install gdb-multiarch

   Install the gdb tool. Then Qtcreator in Tools -> Options -> Build & Run find Debuggers tab add / usr / bin / gdb-multiarch, corresponding Kits for use gdb into the add.

    The rest is open debugging. IP assume development board is 192.168.1.123, IP virtual machine is 192.168.1.124.

1. Log in to the development board telnet 192.168.1.123,

2. Mount nfs server mount -t nfs 192.168.1.124:/nfsshare / mnt / nfs -o nolock,

3. Then gdbserver 192.168.1.124:8888 / mnt / nfs / yourapp -qws carriage,

4. Finally Qtcreator the Debug menu -> Start Debugging -> Attach to Running Debug Server

In the pop-up window kit for embedded configuration of their own,

Port number 8888,

Override Server Address:192.168.1.123, 

Local executable: executable location in the virtual machine

Click OK on the normal debugging.

Guess you like

Origin www.cnblogs.com/lvdongjie/p/11314483.html