GDB launch error with vscode / nRF Connect SDK

Hi !

I am trying to launch a debug session with vscode / nRF Connect SDK. (nRF52-DK)
=> Everything is working fine when I am using a development board (IPS1507-AX)

I have the following error  when launching a debug session from vscode, although:
- I am able to flash the device
- I am able to manually start a debug session with GDB



Apparently someone is facing the same issue (cf https://devzone.nordicsemi.com/f/nordic-q-a/99536/gdb-error-when-trying-to-launch-debugger/437504?focus=true)

Here is the GDB log:

--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (50) LaunchOptions{\"type\":\"nrf-connect\",\"name\":\"Launch build_nrf52832\",\"request\":\"launch\",\"program\":\"c:/Workspace/b2398-my_customer-poc-rayonX/ptx/build_nrf52832/zephyr/zephyr.elf\",\"stopAtEntry\":true,\"entryPoint\":\"*0x8b0\",\"cwd\":\"c:/Workspace/b2398-my_customer-poc-rayonX/ptx\",\"externalConsole\":false,\"MIMode\":\"gdb\",\"miDebuggerPath\":\"c:\\\\ncs\\\\toolchains\\\\31f4403e35\\\\opt\\\\zephyr-sdk\\\\arm-zephyr-eabi\\\\bin\\\\arm-zephyr-eabi-gdb.exe\",\"miDebuggerArgs\":\"-q\",\"setupCommands\":[],\"postRemoteConnectCommands\":[{\"description\":\"Reset device\",\"text\":\"monitor reset 0\",\"ignoreFailures\":true}],\"useExtendedRemote\":true,\"launchCompleteCommand\":\"None\",\"miDebuggerServerAddress\":\"127.0.0.1:53252\",\"debugServerPath\":\"C:\\\\Program Files\\\\SEGGER\\\\JLink\\\\JLinkGDBServerCL.exe\",\"debugServerArgs\":\"-if swd -device nRF52832_xxAA -select usb=51007616 -speed 12000 -port 53252 -singlerun -nogui -halt -noir -silent -rtos c:/Users/lgrosbois/.vscode/extensions/nordic-semiconductor.nrf-connect-2023.7.129-win32-x64/debug/jlink/x64/zephyr_rtos.dll\",\"svdPath\":\"c:/ncs/v2.4.0/modules/hal/nordic/nrfx/mdk/nrf52.svd\",\"ancillarySvdPath\":\"c:/Users/lgrosbois/.vscode/extensions/nordic-semiconductor.nrf-connect-2023.7.129-win32-x64/svd/cortexM4.json\",\"targetArchitecture\":\"arm\",\"logging\":{\"programOutput\":true,\"engineLogging\":true,\"trace\":true,\"traceResponse\":true},\"SoCVariant\":{\"id\":\"QFAA\",\"flash\":512,\"ram\":64},\"buildDir\":\"c:\\\\Workspace\\\\b2398-my_customer-poc-rayonX\\\\ptx\\\\build_nrf52832\",\"memorySections\":[],\"__sessionId\":\"7e5fd60f-6311-4524-a490-3a2a97302874\"}\r\n"},"seq":2}
1: (50) LaunchOptions{"type":"nrf-connect","name":"Launch build_nrf52832","request":"launch","program":"c:/Workspace/b2398-my_customer-poc-rayonX/ptx/build_nrf52832/zephyr/zephyr.elf","stopAtEntry":true,"entryPoint":"*0x8b0","cwd":"c:/Workspace/b2398-my_customer-poc-rayonX/ptx","externalConsole":false,"MIMode":"gdb","miDebuggerPath":"c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe","miDebuggerArgs":"-q","setupCommands":[],"postRemoteConnectCommands":[{"description":"Reset device","text":"monitor reset 0","ignoreFailures":true}],"useExtendedRemote":true,"launchCompleteCommand":"None","miDebuggerServerAddress":"127.0.0.1:53252","debugServerPath":"C:\\Program Files\\SEGGER\\JLink\\JLinkGDBServerCL.exe","debugServerArgs":"-if swd -device nRF52832_xxAA -select usb=51007616 -speed 12000 -port 53252 -singlerun -nogui -halt -noir -silent -rtos c:/Users/lgrosbois/.vscode/extensions/nordic-semiconductor.nrf-connect-2023.7.129-win32-x64/debug/jlink/x64/zephyr_rtos.dll","svdPath":"c:/ncs/v2.4.0/modules/hal/nordic/nrfx/mdk/nrf52.svd","ancillarySvdPath":"c:/Users/lgrosbois/.vscode/extensions/nordic-semiconductor.nrf-connect-2023.7.129-win32-x64/svd/cortexM4.json","targetArchitecture":"arm","logging":{"programOutput":true,"engineLogging":true,"trace":true,"traceResponse":true},"SoCVariant":{"id":"QFAA","flash":512,"ram":64},"buildDir":"c:\\Workspace\\b2398-my_customer-poc-rayonX\\ptx\\build_nrf52832","memorySections":[],"__sessionId":"7e5fd60f-6311-4524-a490-3a2a97302874"}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (85) Starting: \"C:\\Program Files\\SEGGER\\JLink\\JLinkGDBServerCL.exe\" -if swd -device nRF52832_xxAA -select usb=51007616 -speed 12000 -port 53252 -singlerun -nogui -halt -noir -silent -rtos c:/Users/lgrosbois/.vscode/extensions/nordic-semiconductor.nrf-connect-2023.7.129-win32-x64/debug/jlink/x64/zephyr_rtos.dll\r\n"},"seq":4}
1: (85) Starting: "C:\Program Files\SEGGER\JLink\JLinkGDBServerCL.exe" -if swd -device nRF52832_xxAA -select usb=51007616 -speed 12000 -port 53252 -singlerun -nogui -halt -noir -silent -rtos c:/Users/lgrosbois/.vscode/extensions/nordic-semiconductor.nrf-connect-2023.7.129-win32-x64/debug/jlink/x64/zephyr_rtos.dll
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (114) ->SEGGER J-Link GDB Server V7.86h Command Line Version\r\n"},"seq":6}
1: (114) ->SEGGER J-Link GDB Server V7.86h Command Line Version
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (115) ->\r\n"},"seq":8}
1: (115) ->
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) Starting: \"c:\\ncs\\toolchains\\31f4403e35\\opt\\zephyr-sdk\\arm-zephyr-eabi\\bin\\arm-zephyr-eabi-gdb.exe\" --interpreter=mi -q\r\n"},"seq":10}
1: (116) Starting: "c:\ncs\toolchains\31f4403e35\opt\zephyr-sdk\arm-zephyr-eabi\bin\arm-zephyr-eabi-gdb.exe" --interpreter=mi -q
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->JLinkARM.dll V7.86h (DLL compiled Apr 12 2023 16:10:23)\r\n"},"seq":12}
1: (116) ->JLinkARM.dll V7.86h (DLL compiled Apr 12 2023 16:10:23)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->\r\n"},"seq":14}
1: (116) ->
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->-----GDB Server start settings-----\r\n"},"seq":16}
1: (116) ->-----GDB Server start settings-----
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->GDBInit file:                  none\r\n"},"seq":18}
1: (116) ->GDBInit file:                  none
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->GDB Server Listening port:     53252\r\n"},"seq":20}
1: (116) ->GDB Server Listening port:     53252
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->SWO raw output listening port: 2332\r\n"},"seq":22}
1: (116) ->SWO raw output listening port: 2332
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->Terminal I/O port:             2333\r\n"},"seq":24}
1: (116) ->Terminal I/O port:             2333
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->Accept remote connection:      localhost only\r\n"},"seq":26}
1: (116) ->Accept remote connection:      localhost only
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->Generate logfile:              off\r\n"},"seq":28}
1: (116) ->Generate logfile:              off
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->Verify download:               off\r\n"},"seq":30}
1: (116) ->Verify download:               off
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->Init regs on start:            off\r\n"},"seq":32}
1: (116) ->Init regs on start:            off
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (116) ->Silent mode:                   on\r\n"},"seq":34}
1: (116) ->Silent mode:                   on
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->Single run mode:               on\r\n"},"seq":36}
1: (117) ->Single run mode:               on
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->Target connection timeout:     0 ms\r\n"},"seq":38}
1: (117) ->Target connection timeout:     0 ms
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->------J-Link related settings------\r\n"},"seq":40}
1: (117) ->------J-Link related settings------
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->J-Link Host interface:         USB\r\n"},"seq":42}
1: (117) ->J-Link Host interface:         USB
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->J-Link script:                 none\r\n"},"seq":44}
1: (117) ->J-Link script:                 none
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->J-Link settings file:          none\r\n"},"seq":46}
1: (117) ->J-Link settings file:          none
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->------Target related settings------\r\n"},"seq":48}
1: (117) ->------Target related settings------
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->Target device:                 nRF52832_xxAA\r\n"},"seq":50}
1: (117) ->Target device:                 nRF52832_xxAA
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->Target device parameters:      none\r\n"},"seq":52}
1: (117) ->Target device parameters:      none
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->Target interface:              SWD\r\n"},"seq":54}
1: (117) ->Target interface:              SWD
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->Target interface speed:        12000kHz\r\n"},"seq":56}
1: (117) ->Target interface speed:        12000kHz
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->Target endian:                 little\r\n"},"seq":58}
1: (117) ->Target endian:                 little
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (117) ->\r\n"},"seq":60}
1: (117) ->
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (127) DebuggerPid=15916\r\n"},"seq":62}
1: (127) DebuggerPid=15916
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (150) ->=thread-group-added,id=\"i1\"\r\n"},"seq":64}
1: (150) ->=thread-group-added,id="i1"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (151) ->(gdb)\r\n"},"seq":66}
1: (151) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (155) <-1001-gdb-set mi-async on\r\n"},"seq":68}
1: (155) <-1001-gdb-set mi-async on
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (175) ->1001^done\r\n"},"seq":70}
1: (175) ->1001^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (175) ->(gdb)\r\n"},"seq":72}
1: (175) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (176) ->&\"\\n\"\r\n"},"seq":74}
1: (176) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (176) ->^done\r\n"},"seq":76}
1: (176) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (176) ->(gdb)\r\n"},"seq":78}
1: (176) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (177) 1001: elapsed time 23\r\n"},"seq":80}
1: (177) 1001: elapsed time 23
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (179) <-1002-interpreter-exec console \"show configuration\"\r\n"},"seq":82}
1: (179) <-1002-interpreter-exec console "show configuration"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"This GDB was configured as follows:\\n   configure --host=\"\r\n"},"seq":84}
1: (192) ->~"This GDB was configured as follows:\n   configure --host="
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"x86_64-host_w64-mingw32 --target=arm-zephyr-eabi\\n\"\r\n"},"seq":86}
1: (192) ->~"x86_64-host_w64-mingw32 --target=arm-zephyr-eabi\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"\\t     --with-auto-load-dir=$debugdir:$datadir/auto-load\\n\\t     --with-auto-load-safe-path=\"\r\n"},"seq":88}
1: (192) ->~"\t     --with-auto-load-dir=$debugdir:$datadir/auto-load\n\t     --with-auto-load-safe-path="
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"$debugdir:$datadir/auto-load\\n\"\r\n"},"seq":90}
1: (192) ->~"$debugdir:$datadir/auto-load\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"\\t     --with-expat\\n\"\r\n"},"seq":92}
1: (192) ->~"\t     --with-expat\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"\\t     --with-gdb-datadir=/__w/_temp/workspace/output/HOST-x86_64-w64-mingw32/arm-zephyr-eabi/share/gdb (relocatable)\\n\"\r\n"},"seq":94}
1: (192) ->~"\t     --with-gdb-datadir=/__w/_temp/workspace/output/HOST-x86_64-w64-mingw32/arm-zephyr-eabi/share/gdb (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"\\t     --with-jit-reader-dir=/__w/_temp/workspace/output/HOST-x86_64-w64-mingw32/arm-zephyr-eabi/lib/gdb (relocatable)\\n\"\r\n"},"seq":96}
1: (192) ->~"\t     --with-jit-reader-dir=/__w/_temp/workspace/output/HOST-x86_64-w64-mingw32/arm-zephyr-eabi/lib/gdb (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"\\t     --without-libunwind-ia64\\n\"\r\n"},"seq":98}
1: (192) ->~"\t     --without-libunwind-ia64\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"\\t     --without-lzma\\n\"\r\n"},"seq":100}
1: (192) ->~"\t     --without-lzma\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"\\t     --without-babeltrace\\n\"\r\n"},"seq":102}
1: (192) ->~"\t     --without-babeltrace\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (192) ->~\"\\t     --without-intel-pt\\n\"\r\n"},"seq":104}
1: (192) ->~"\t     --without-intel-pt\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\t     --with-mpfr\\n\"\r\n"},"seq":106}
1: (193) ->~"\t     --with-mpfr\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\t     --without-xxhash\\n\"\r\n"},"seq":108}
1: (193) ->~"\t     --without-xxhash\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\t     --without-python\\n\"\r\n"},"seq":110}
1: (193) ->~"\t     --without-python\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\t     --without-python-libdir\\n\"\r\n"},"seq":112}
1: (193) ->~"\t     --without-python-libdir\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\t     --without-debuginfod\\n\"\r\n"},"seq":114}
1: (193) ->~"\t     --without-debuginfod\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\t     --without-guile\\n\"\r\n"},"seq":116}
1: (193) ->~"\t     --without-guile\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\t     --disable-source-highlight\\n\"\r\n"},"seq":118}
1: (193) ->~"\t     --disable-source-highlight\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\t     --with-separate-debug-dir=/__w/_temp/workspace/output/HOST-x86_64-w64-mingw32/arm-zephyr-eabi/lib/debug (relocatable)\\n\"\r\n"},"seq":120}
1: (193) ->~"\t     --with-separate-debug-dir=/__w/_temp/workspace/output/HOST-x86_64-w64-mingw32/arm-zephyr-eabi/lib/debug (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\t     --with-sysroot=/__w/_temp/workspace/output/HOST-x86_64-w64-mingw32/arm-zephyr-eabi/arm-zephyr-eabi (relocatable)\\n\"\r\n"},"seq":122}
1: (193) ->~"\t     --with-sysroot=/__w/_temp/workspace/output/HOST-x86_64-w64-mingw32/arm-zephyr-eabi/arm-zephyr-eabi (relocatable)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->~\"\\n(\\\"Relocatable\\\" means the directory can be moved with the GDB installation\\ntree, and GDB will still find it.)\\n\"\r\n"},"seq":124}
1: (193) ->~"\n(\"Relocatable\" means the directory can be moved with the GDB installation\ntree, and GDB will still find it.)\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->1002^done\r\n"},"seq":126}
1: (193) ->1002^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) ->(gdb)\r\n"},"seq":128}
1: (193) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (193) 1002: elapsed time 14\r\n"},"seq":130}
1: (193) 1002: elapsed time 14
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (194) ->&\"\\n\"\r\n"},"seq":132}
1: (194) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (194) ->^done\r\n"},"seq":134}
1: (194) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (199) ->(gdb)\r\n"},"seq":136}
1: (199) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (207) <-1003-interpreter-exec console \"set pagination off\"\r\n"},"seq":138}
1: (207) <-1003-interpreter-exec console "set pagination off"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (207) ->=cmd-param-changed,param=\"pagination\",value=\"off\"\r\n"},"seq":140}
1: (207) ->=cmd-param-changed,param="pagination",value="off"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (208) ->1003^done\r\n"},"seq":142}
1: (208) ->1003^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (208) ->(gdb)\r\n"},"seq":144}
1: (208) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (208) 1003: elapsed time 0\r\n"},"seq":146}
1: (208) 1003: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (208) ->&\"\\n\"\r\n"},"seq":148}
1: (208) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (208) <-1004-gdb-set auto-solib-add on\r\n"},"seq":150}
1: (208) <-1004-gdb-set auto-solib-add on
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (208) ->^done\r\n"},"seq":152}
1: (208) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (208) ->(gdb)\r\n"},"seq":154}
1: (208) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (223) ->1004^done\r\n"},"seq":156}
1: (223) ->1004^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (223) ->(gdb)\r\n"},"seq":158}
1: (223) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (223) ->&\"\\n\"\r\n"},"seq":160}
1: (223) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (223) 1004: elapsed time 15\r\n"},"seq":162}
1: (223) 1004: elapsed time 15
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (223) <-1005-gdb-set solib-search-path c:/Workspace/b2398-my_customer-poc-rayonX/ptx/build_nrf52832/zephyr;\r\n"},"seq":164}
1: (223) <-1005-gdb-set solib-search-path c:/Workspace/b2398-my_customer-poc-rayonX/ptx/build_nrf52832/zephyr;
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (224) ->^done\r\n"},"seq":166}
1: (224) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (224) ->(gdb)\r\n"},"seq":168}
1: (224) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (239) ->1005^done\r\n"},"seq":170}
1: (239) ->1005^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (239) ->(gdb)\r\n"},"seq":172}
1: (239) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (239) 1005: elapsed time 15\r\n"},"seq":174}
1: (239) 1005: elapsed time 15
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (239) ->&\"\\n\"\r\n"},"seq":176}
1: (239) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (239) <-1006-environment-cd c:/Workspace/b2398-my_customer-poc-rayonX/ptx\r\n"},"seq":178}
1: (239) <-1006-environment-cd c:/Workspace/b2398-my_customer-poc-rayonX/ptx
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (239) ->^done\r\n"},"seq":180}
1: (239) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (239) ->(gdb)\r\n"},"seq":182}
1: (239) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (255) ->1006^done\r\n"},"seq":184}
1: (255) ->1006^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (255) ->(gdb)\r\n"},"seq":186}
1: (255) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (255) 1006: elapsed time 16\r\n"},"seq":188}
1: (255) 1006: elapsed time 16
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (256) <-1007-file-exec-and-symbols c:/Workspace/b2398-my_customer-poc-rayonX/ptx/build_nrf52832/zephyr/zephyr.elf\r\n"},"seq":190}
1: (256) <-1007-file-exec-and-symbols c:/Workspace/b2398-my_customer-poc-rayonX/ptx/build_nrf52832/zephyr/zephyr.elf
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (256) ->&\"\\n\"\r\n"},"seq":192}
1: (256) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (256) ->^done\r\n"},"seq":194}
1: (256) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (256) ->(gdb)\r\n"},"seq":196}
1: (256) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (278) ->1007^done\r\n"},"seq":198}
1: (278) ->1007^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (278) ->(gdb)\r\n"},"seq":200}
1: (278) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (278) 1007: elapsed time 22\r\n"},"seq":202}
1: (278) 1007: elapsed time 22
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (279) <-1008-interpreter-exec console \"show architecture\"\r\n"},"seq":204}
1: (279) <-1008-interpreter-exec console "show architecture"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (279) ->&\"\\n\"\r\n"},"seq":206}
1: (279) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (279) ->^done\r\n"},"seq":208}
1: (279) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (279) ->(gdb)\r\n"},"seq":210}
1: (279) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (279) ->~\"The target architecture is set to \\\"auto\\\" (currently \\\"armv7e-m\\\").\\n\"\r\n"},"seq":212}
1: (279) ->~"The target architecture is set to \"auto\" (currently \"armv7e-m\").\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (279) ->1008^done\r\n"},"seq":214}
1: (279) ->1008^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (279) ->(gdb)\r\n"},"seq":216}
1: (279) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (279) 1008: elapsed time 0\r\n"},"seq":218}
1: (279) 1008: elapsed time 0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (280) ->&\"\\n\"\r\n"},"seq":220}
1: (280) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (280) ->^done\r\n"},"seq":222}
1: (280) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (280) ->(gdb)\r\n"},"seq":224}
1: (280) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (280) <-1009-exec-arguments 2>CON 1>CON <CON\r\n"},"seq":226}
1: (280) <-1009-exec-arguments 2>CON 1>CON <CON
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (302) ->1009^done\r\n"},"seq":228}
1: (302) ->1009^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (302) ->(gdb)\r\n"},"seq":230}
1: (302) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (302) 1009: elapsed time 22\r\n"},"seq":232}
1: (302) 1009: elapsed time 22
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (302) ->&\"\\n\"\r\n"},"seq":234}
1: (302) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (302) <-1010-break-insert -f *0x8b0\r\n"},"seq":236}
1: (302) <-1010-break-insert -f *0x8b0
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (303) ->^done\r\n"},"seq":238}
1: (303) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (303) ->(gdb)\r\n"},"seq":240}
1: (303) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (319) ->1010^done,bkpt={number=\"1\",type=\"breakpoint\",disp=\"keep\",enabled=\"y\",addr=\"0x000008b0\",func=\"main\",file=\"../src/main.c\",fullname=\"C:\\\\Workspace\\\\b2398-my_customer-poc-rayonX\\\\ptx\\\\src\\\\main.c\",line=\"111\",thread-groups=[\"i1\"],times=\"0\",original-location=\"*0x8b0\"}\r\n"},"seq":242}
1: (319) ->1010^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x000008b0",func="main",file="../src/main.c",fullname="C:\\Workspace\\b2398-my_customer-poc-rayonX\\ptx\\src\\main.c",line="111",thread-groups=["i1"],times="0",original-location="*0x8b0"}
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (319) ->(gdb)\r\n"},"seq":244}
1: (319) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (320) ->&\"\\n\"\r\n"},"seq":246}
1: (320) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (320) ->^done\r\n"},"seq":248}
1: (320) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (320) ->(gdb)\r\n"},"seq":250}
1: (320) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (322) 1010: elapsed time 19\r\n"},"seq":252}
1: (322) 1010: elapsed time 19
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (323) <-1011-target-select extended-remote 127.0.0.1:53252\r\n"},"seq":254}
1: (323) <-1011-target-select extended-remote 127.0.0.1:53252
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (508) ->1011^error,msg=\"Remote communication error.  Target disconnected.: No such file or directory.\"\r\n"},"seq":256}
1: (508) ->1011^error,msg="Remote communication error.  Target disconnected.: No such file or directory."
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (508) ->(gdb)\r\n"},"seq":258}
1: (508) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (508) ->&\"\\n\"\r\n"},"seq":260}
1: (508) ->&"\n"
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (508) 1011: elapsed time 185\r\n"},"seq":262}
1: (508) 1011: elapsed time 185
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (508) ->^done\r\n"},"seq":264}
1: (508) ->^done
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (508) ->(gdb)\r\n"},"seq":266}
1: (508) ->(gdb)
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (512) Send Event AD7MessageEvent\r\n"},"seq":268}
1: (512) Send Event AD7MessageEvent
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (512) <--gdb-exit\r\n"},"seq":270}
1: (512) <--gdb-exit
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (514) <-logout\r\n"},"seq":272}
1: (514) <-logout
--> E (output): {"type":"event","event":"output","body":{"category":"console","output":"1: (514) <-logout\r\n"},"seq":274}
1: (514) <-logout
--> R (launch-2): {"type":"response","request_seq":2,"success":false,"command":"launch","message":"Unable to start debugging. Unexpected GDB output from command \"-target-select extended-remote 127.0.0.1:53252\". Remote communication error.  Target disconnected.: No such file or directory.","body":{"error":{"id":1005,"format":"Unable to start debugging. Unexpected GDB output from command \"-target-select extended-remote 127.0.0.1:53252\". Remote communication error.  Target disconnected.: No such file or directory."}},"seq":276}


Support output:
/cfs-file/__key/communityserver-discussions-components-files/4/support_5F00_output.zip

Parents Reply Children
  • Hi,

    Please create a new ticket and upload support information from the VS Code extension.

    1. Open the command palette (Ctrl + Shift + P or View > Command Palette).
    2. Write "nRF Connect: Generate support information" and press enter.
    3. Copy the entire support information output.
    4. Upload it using Insert > Code or upload a .txt file with Insert > Image/video/file.

    Make sure to remove confidential information you do not want to be shared in a public case.

    Best regards,
    Marte

Related