Hi all,
My setup is this : I'm running vscodium on SuSE tumbleweed, with a pico debug probe connected remotely on an Ubuntu machine, to my target board which has a pico 2 on it. With this setup I can compile my application (C/C++) in vscodium and program it over the newtwork to my target board without problems. I can assume from this that communication is OK.
However when I try and debug the code using Run->Start debugging with a breakpoint set it seems to be ignored. Any idea what my problem might be?
My launch.json :
Any help appreciated.
Cheers.
Phill.
My setup is this : I'm running vscodium on SuSE tumbleweed, with a pico debug probe connected remotely on an Ubuntu machine, to my target board which has a pico 2 on it. With this setup I can compile my application (C/C++) in vscodium and program it over the newtwork to my target board without problems. I can assume from this that communication is OK.
However when I try and debug the code using Run->Start debugging with a breakpoint set it seems to be ignored. Any idea what my problem might be?
My launch.json :
Code:
"version": "0.2.0", "configurations": [ { "name": "Pico Debug (remote rp2040)", "type":"cortex-debug", "cwd": "${workspaceRoot}", "executable": "${command:cmake.launchTargetPath}", "request": "launch", "servertype": "external", // This may need to be arm-none-eabi-gdb depending on your system "gdbPath" : "gdb", // Connect to an already running OpenOCD instance "gdbTarget": "trion.ftt:3333", "svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2040.svd",// "runToMain": true, // Work around for stopping at main on restart "postRestartCommands": [ "break main", "continue" ] } , { "name": "Pico Debug (remote rp2350)", "type":"cortex-debug", "cwd": "${workspaceRoot}", "executable": "${command:cmake.launchTargetPath}", "request": "launch", "servertype": "external", // This may need to be arm-none-eabi-gdb depending on your system "gdbPath" : "gdb", // Connect to an already running OpenOCD instance "gdbTarget": "trion.ftt:3333", "svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2350.svd",// "runToMain": true, // Work around for stopping at main on restart "postRestartCommands": [ "break main", "continue" ] } , { "name": "Pico Debug (RP2350, local)", "cwd": "${workspaceRoot}", "executable": "${command:cmake.launchTargetPath}", "request": "launch", "type": "cortex-debug", "servertype": "openocd", // This may need to be "arm-none-eabi-gdb" for some previous builds "gdbPath" : "gdb-multiarch", "device": "RP2350", "configFiles": [ // This may need to be "interface/picoprobe.cfg" for some previous builds "interface/cmsis-dap.cfg", "target/rp2350.cfg" ], "svdFile": "${env:PICO_SDK_PATH}/src/rp2040/hardware_regs/rp2350.svd", "runToEntryPoint": "main", // Work around for stopping at main on restart "postRestartCommands": [ "break main", "continue" ], "openOCDLaunchCommands": ["adapter speed 5000"], } ]}Cheers.
Phill.
Statistics: Posted by PhillHS — Wed Dec 03, 2025 9:43 am — Replies 0 — Views 21