Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt-Creator IDE with Segger J-Link JTAG debugging error
Jason Zhu last edited by
First question, I want to confirm whether Qt-Creator IDE supported Segger J-Link JTAG debugger?
Second question, while I toggle a breakpoint and step over that I got a warning information from J-Link and debug task of Qt-Creator is exception interrupted.
Warning information is "Debugger problem discovered: The debugger has set two breakpoints at the same address 0x40497C22".
Detailed debugging environment and configuration as below:
My current environment of debugging is Segger J-Link GDB Server is running that it connected J-Link Adapter and detected CPU on target.
Related log from GDB Server as below:
- Listening on TCP/IP port 2331
- J-Link found 2 JTAG devices, Total IRLen = 8
- JTAG ID: 0x4F1F0F0F (ARM7)
- Connected to target
- Waiting for GDB connection...
My configuration of debug based on Qt-Creator as below:
- Tools -> Options -> Build & Run -> Debuggers -> Add
a. Name: arm-none-eabi-gdb
b. Path: D:\Work\tools\qtcreator-gdb-7.4-MINGW32_NT-6.1-i686\gdb-arm-none-linux-gnueabi.exe
- Tools -> Options -> Build & Run -> Kits -> Add
a. Name: ARM
b. Device type: Generic Linux Device
c. Debugger: arm-none-eabi-gdb
- Debug -> Start Debugging -> Attach to Remote Debug Server
a. Kit: ARM
b. Server port: 2331
c. Override server address: localhost
d. Local executable: xxxxxx.elf
e. Working direcotry: current project path
Finally, execute debug task will be occured relevant error and exception interrupted.
So, please the experts help to analyze my exception questions and awaiting your valuable feedback and solution.
Thanks so much!