platformio / platformio-vscode-ide

PlatformIO IDE for VSCode: The next generation integrated development environment for IoT
https://marketplace.visualstudio.com/items?itemName=platformio.platformio-ide
Apache License 2.0
1.18k stars 188 forks source link

Debug Console, Debug messages limited to 15 characters before line break #4043

Open davewyers opened 1 month ago

davewyers commented 1 month ago

I am running PlatformIO (6.1.14) on VScode (1.88.0) for Windows (10.0.19045), programing a nrf52840DK using the Arduino framework.

When I am running the debugger the debugger messages (in blue) appear to be limited to 15 chars before they line wrap, in some cases much less than this. The system messages (in red & orange) appear ok.

I have had another nrf52840DK user confirm they are getting the same display result.

image

I have removed the PIO extension from VScode & deleted the user/.platformio directory, then reinstalled.

It looks like a GDB Server issue

I created a blank project with a basic INI and have the same issue.

[env:nrf52840_dk]
platform = nordicnrf52
board = nrf52840_dk
framework = arduino

You do not need a device to test this as it starts the GDB server prior to looking for the probe. image

If I run JLinkGDBServerCL.exe from a windows Terminal it looks correct image

https://community.platformio.org/t/debug-console-debug-messages-limited-to-15-characters-before-line-break/39566

08822407d commented 1 month ago

On my machine, the debug even cannot work. I didn't change nothing to my develop environment, just spent my holiday and came back, then the vscode extension seemed have a automatic upgrade