Hi,
I use the JLink GDB Server to perform debugging from Jetbrains CLion. Up until version 6.54, this worked fine :
Display All
As you can see it complains about "pretty-printer" but ignores this and proceeds to the connection.
With version 6.54, I cannot connect any more :
The error code "9" is not listed in the manual, so I cannot tell what has happened. Does anyone know what is going on?
Ewout Boks
I use the JLink GDB Server to perform debugging from Jetbrains CLion. Up until version 6.54, this worked fine :
Source Code
- /Applications/SEGGER/JLink_V652e/JLinkGDBServerCLExe -device STM32F411VE -endian little -if SWD -select usb=778137274 -ir -localhostonly 1 -port 2331 -speed 2000 -vd -nosilent -swoport 2332 -telnetport 2333 -halt
- SEGGER J-Link GDB Server V6.52e Command Line Version
- JLinkARM.dll V6.52e (DLL compiled Oct 16 2019 12:33:11)
- Command line: -device STM32F411VE -endian little -if SWD -select usb=778137274 -ir -localhostonly 1 -port 2331 -speed 2000 -vd -nosilent -swoport 2332 -telnetport 2333 -halt
- -----GDB Server start settings-----
- GDBInit file: none
- GDB Server Listening port: 2331
- SWO raw output listening port: 2332
- Terminal I/O port: 2333
- Accept remote connection: localhost only
- Generate logfile: off
- Verify download: on
- Init regs on start: on
- Silent mode: off
- Single run mode: off
- Target connection timeout: 0 ms
- ------J-Link related settings------
- J-Link Host interface: USB
- J-Link script: none
- J-Link settings file: none
- ------Target related settings------
- Target device: STM32F411VE
- Target interface: SWD
- Target interface speed: 2000kHz
- Target endian: little
- Connecting to J-Link...
- Error during pretty printers setup: Undefined info command: "pretty-printer". Try "help info".
- Some features and performance optimizations will not be available.
- J-Link is connected.
- Firmware: J-Link STLink V2 compiled Jun 26 2017 10:34:41
- Hardware: V1.00
- S/N: 778137274
- Checking target voltage...
- Target voltage: 3.30 V
- Listening on TCP/IP port 2331
- Connecting to target...Connected to target
- Waiting for GDB connection...Connected to 127.0.0.1
As you can see it complains about "pretty-printer" but ignores this and proceeds to the connection.
With version 6.54, I cannot connect any more :
Source Code
- /Applications/SEGGER/JLink_V654/JLinkGDBServerCLExe -device STM32F411VE -endian little -if SWD -select usb=778137274 -ir -localhostonly 1 -port 2331 -speed 2000 -vd -nosilent -swoport 2332 -telnetport 2333 -halt
- SEGGER J-Link GDB Server V6.54 Command Line Version
- GDB Server stopped, exit code 9
- Error during pretty printers setup: Undefined info command: "pretty-printer". Try "help info".
- Some features and performance optimizations will not be available.
- Process finished with exit code 0
The error code "9" is not listed in the manual, so I cannot tell what has happened. Does anyone know what is going on?
Ewout Boks