Skip to content

west debug fails when using Nushell on Windows #1157

Description

@masriomarm
D:\Omar\zephyrproject-nu\zephyr > west debug
-- west debug: rebuilding
ninja: no work to do.
-- west debug: using runner openocd
OpenOCD GDB server running on port 3333; no thread info available
Open On-Chip Debugger 0.12.0-g91bd278 (2026-03-25-02:08)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : STLINK V2J47S7 (API v2) VID:PID 0483:3748
Info : Target voltage: 3.231683
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : Unable to match requested speed 2000 kHz, using 1800 kHz
Info : clock speed 1800 kHz
Info : stlink_dap_op_connect(connect)
Info : SWD DPIDR 0x2ba01477
Info : [stm32f4x.cpu] Cortex-M4 r0p1 processor detected
Info : [stm32f4x.cpu] target has 6 breakpoints, 4 watchpoints
Info : starting gdb server for stm32f4x.cpu on 3333
Info : Listening on port 3333 for gdb connections
    TargetName         Type       Endian TapName            State
--  ------------------ ---------- ------ ------------------ ------------
 0* stm32f4x.cpu       cortex_m   little stm32f4x.cpu       running

[stm32f4x.cpu] halted due to debug-request, current mode: Thread
xPSR: 0x41000000 pc: 0x0800353a psp: 0x20001090
Info : Listening on port 6333 for tcl connections
Info : Listening on port 4444 for telnet connections
FATAL ERROR: command exited with status 3221226356: C:/Users/omar.mahmoud/zephyr-sdk-1.0.1/gnu/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb-py.exe -ex 'target extended-remote :3333' D:/Omar/zephyrproject-nu/zephyr/build/zephyr/zephyr.elf -ex load
(.venv)
Mon-10-Aug-2026 13:37:57 -1   9sec 692ms SHLVL = 1
D:\Omar\zephyrproject-nu\zephyr >

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions