Releases: Marus/cortex-debug
V0.4.2
Please see https://github.com/Marus/cortex-debug/blob/master/CHANGELOG.md for details
V0.4.1
V0.4.0
It is a BIG one. Please see the following for details of this release
https://github.com/Marus/cortex-debug/blob/master/CHANGELOG.md
V0.4.0.pre2
- Support for RTT (SEGGER Real Time Trace) with OpenOCD and JLink. See Issue#456 for more info
- You can plot RTT data just like you could with SWO. The setup in launch.json is identical. See this comment
- Channel sharing: You can use the same RTT channels in multiple ways. Corte-Debug reads the channel data from OpenOCD/JLink once and distributes to all subscribers (terminals & graphs). For instance, you can plot a channel and also look at its binary data in a terminal. Just use two decoders with the same channel (actually called port) number.
- JLink RTT has a limitation that it can ONLY work with one channel (channel 0). There is another artifact with RTT channels where you may see output from a previous run at the very beginning.
- The default polling interval in OpenOCD is 100 ms. If you are outputting more frequently, try lowering the interval in
launch.json
. 10ms seems more acceptable as a tradeoff between creating bus traffic and not losing/blocking data. If nothing changes, then OpenOCD does do much even if the interval is small.
- SWO console and binary decoded text data now appears in a "TERMINAL" tab instead in the "OUTPUT" tab
- All gdb-server (OpenOCD, JLink, etc.) output is also in the "TERMINAL" tab. In there you can also interact with your semihosting
- Support in debugger for
Jump to Cursor
, thanks to PR#417 demangle
is on by default. You can turn it off inlaunch.json
- A change in this pre-release, you will see some debug information in the gdb-server console. You will also see messages output by the extension that are not part of the actual output in bright magenta. This will happen in all terminals (RTT, SWO and console)
- WARNING: The
Adapter Output
window in theOUTPUT
tab will go away. Replaced by the 'gdb-server' in theTERMINAL
tab.
Please see the article below to see how to Install from a VSIX file. Whatever you do, do not double click on it on Windows as that will attempt to install into Visual Studio rather than VSCode
https://stackoverflow.com/questions/42017617/how-to-install-vs-code-extension-manually
V0.3.14-pre2
New Features:
- Support for RTT (SEGGER RealTimeTrace) with OpenOCD and JLink. See Issue#456 for more info
- JLink RTT has a limitation that it can ONLY work with one channel (channel 0). We are not sure why yet. There is another artifact with channel 0 where you may see output from a previous run at the very beginning.
demangle
is on by default. You can turn it off inlaunch.json
Please see the article below to see how to Install from a VSIX file. Whatever you do, do not double click on it on Windows as that will attempt to install into Visual Studio rather than VSCode
https://stackoverflow.com/questions/42017617/how-to-install-vs-code-extension-manually
V0.3.14-pre1
New Features:
- Support for RTT (SEGGER Real Time Trace) with OpenOCD. JLink is not supported yet as you can use JLink tools. Once OpenOCD works our we can look at other gdb-servers that support RTT
See Issue#456 for more info demangle
is by default true. You can turn it off inlaunch.json
Please see the article below to see how to Install from a VSIX file. Whatever you do, do not double click on it on Windows as that will attempt to install into Visual Studio rather than VSCode
https://stackoverflow.com/questions/42017617/how-to-install-vs-code-extension-manually
V0.4.0.pre1
This will be a major release with a lot of changes and many new features. The TERMINAL
area of VSCode is utilized a lot more heavily to enable bidirectional communication with the firmware. It is used for RTT, SWO and Semi-hosting.
New Features:
- Support for RTT (SEGGER Real Time Trace) with OpenOCD and JLink. See Issue#456 for more info
- JLink RTT has a limitation that it can ONLY work with one channel (channel 0). There is another artifact with channel 0 where you may see output from a previous run at the very beginning.
- SWO console and binary decoded text data now appears in a "TERMINAL" tab instead in the "OUTPUT" tab
- All gdb-server (OpenOCD, JLink, etc.) output is also in the "TERMINAL" tab. In there you can also interact with your semihosting
- Support in debugger for
Jump to Cursor
, thanks to PR#417 demangle
is on by default. You can turn it off inlaunch.json
Please see the article below to see how to Install from a VSIX file. Whatever you do, do not double click on it on Windows as that will attempt to install into Visual Studio rather than VSCode
https://stackoverflow.com/questions/42017617/how-to-install-vs-code-extension-manually
v0.3.13
New Features:
"external"
server type now supports SWO. It works in the following way depending on"source"
"source": "probe"
-- We do not recommend this method as there are issues with File I/O buffering causing delays and stalls, especially on Windows. Use a"socket"
instead. It will use an auto-created temporary file name.- On Windows, it will use normal file-io
- On Linux/Mac, it will use an OS supported FIFO which is more efficient than a normal file
"source": "socket"
(best option if available)- You MUST specify the
"swoPort": "[host:]port"
option in the"swoConfig"
- You MUST specify the
"source": "file"
, then the file specified by"swoPath"
will be used. Same caveats as when"source"
is"probe"
but you have control over the file-name
"openocd"
server type will now use a TCP port for SWO instead of file/fifo for a more reliable connection across all platforms. Port selection is automatic. You can still use a serial port in which case,"source": "serial"
.- Support for
pyoocd
SWO over a TCP port. You can specify the SWO source asprobe
. This is rather new forpyocd
, so it hasn't been extensively tested.
Bug fixes and minor changes:
- Use the
pyocd
executable withgdbserver
as first argument instead of thepyocd-gdbserver
executable. This is a potentially breaking change but long overdue as the old use model has been deprecated bypyocd
. - Few other minor changes
v0.3.12-pre1
- Attempting to fix issues with not being able to set breakpoints in rust and assembly code.
Also includes:
- new binary modules for macOS for v1.53
- A new
runToEntryPoint
configuration property to replacerunToMain
allowing the actual entry point name to be configured - A fix for SWD support on P&E Micro GDB server
V0.3.11 - Pre Release 2
More additions to the tooltips for field and register nodes
- Display the reset value for nodes in the tooltip
- Flags fields and registers as being read only and write only as appropriate in tooltips