Skip to content

Releases: Marus/cortex-debug

v0.3.5-beta1

07 Mar 17:46

Choose a tag to compare

v0.3.5-beta1 Pre-release
Pre-release

V0.3.5-beta1

This is a pretty big release. The biggest change is to address C++ (and maybe Rust) de-mangled names. It had a big effect on the overall code base especially with regards to how disassembly was provided. The separator :: caused quite a few issues and there are strange and unexpected things in the symbol table. It can affect users not even using C++ or de-mangling.

  1. Major Issues Fixed (a few minor ones)
    • Issue #232: SVD Enumerated types derivedFrom attribute now supported (used by ST quite a lot). Caused silent SVD parsing failures before and the Peripherals window said No SVD File Loaded.
    • Issue #229: Better handling of multiple anonymous unions and structs in the same data structure. Only the first one was shown previously, defect in VSCode really, but had to find a workaround.
    • Issue #179: Depending on how the compiler was used, only static variables declared in files in the current directory were being displayed. It was an issue with how objdump and gdb behaved differently. Not a perfect fix. Use Watch Window when in doubt and report any further issues and discrepancies.
    • Issues with serialport module: Updated to work with the latest version of VSCode/Electron. This will be an ongoing problem but hopefully, we can keep up with new releases of VSCode better in the future. When VSCode moves to a new version of Electron this extension has to be updated. For those adventurous enough, there is a script you can use to generate a compatible version yourself.
  2. New Features
    • Preliminary support for C++ de-mangled names. In launch.json, there is now a configuration option "demangle" to enable de-mangling of symbols both by GDB and Cortex-Debug. We may remove this property in the future and demangle all the time. All users are encouraged to enable this to see if it affects debugging in a negative way. With C++, there can be a lot of issues related to overloading and templates. Please report issues.
    • There is a new launch.json configuration option "serverArgs" to add additional command-line arguments when launching any supported gdb-server (like J-Link, STlink, etc.)
    • Could be classified as a bug-fix. Before, setting static variable values in the Variables Window did not work. Now, it should work as expected.
    • There were some performance enhancements done for loading the Variables window when Global or Static scopes were expanded. Noticeable when single-stepping in large executables.
    • New setting flattenAnonymous which will flatten anonymous structs/unions. Default=false
    • New setting registerUseNaturalFormat which will display registers either in Natural format or Hex: Default=true
    • The command View Disassembly (Function) now supports a regular expression as input. It will try an exact match for a function name first. But, it that fails treats the input string as a regular expression, and if the input string ends with /i it is treated as case-insensitive. As always, if there are multiple matches, you have to pick one.
    • You can now specify the numberOfProcessors and the targetProcessor to debug in launch.json when there are multiple cores/processors in the DAP chain. Cortex-Debug will allocate the required number of TCP ports and use the right one(s) for the processor. This has been tested with pyOCD and OpenOCD

Second attempt at fixing binary module loading

21 Feb 14:17

Choose a tag to compare

This is a second attempt at fixing the binary module loading.

Testing Build for serialport Fixes

09 Feb 20:14

Choose a tag to compare

Pre-release

This build should hopefully fix the current issues with the serialport binary module - while we still have to deal with updating this module in the future when VSCode updates - this should be much easier now with the scripting that @haneefdm has setup.

V0.2.7

09 Jun 20:24

Choose a tag to compare

  • Added new servertype of external for cases where you want to control the GDB server yourself. This could be used for cases where you need to run the GDB server on a different machine, or in cases where there are multiple target cores which may cause the debug server to not operate as expected by cortex-debug. This configuration may require more customizations to the launch.json file than other more automated server types. When this servertype is selected a value for the gdbTarget launch.json property must be supplied.
  • Added new launch.json options (overrideLaunchCommands, overrideRestartCommands and overrideAttachCommands) to be able to override the default commands run on those operations. In most cases this is not needed, but may be required for external server types (by default commands that are compatible with openocd are used for external server types).
  • Add a overrideGDBServerStartedRegex launch.json configuration option - this allows you to provide the system with an alternative regular expression to detect that the GDB server has completed launching and is ready to accept connections. In most cases this will be need - but may be useful in cases where the debug servers output has changed and is no longer recognized.
  • Major upgrade to the system for finding free ports to use (big thanks to https://github.com/haneefdm for his work on this); should fix recurring problems with port number collisions (e.g. 117(#117)).
  • Updates to PyOCD to enable support for CMSIS-Pack specification (added in PyOCD v0.16.0) - thanks to https://github.com/pelrun for this improvement

V0.2.5

15 May 00:54

Choose a tag to compare

Update version number and changelog. Added links to issue numbers

V0.2.4

12 May 23:51

Choose a tag to compare

v0.2.4

Updated change log

Preview Testing Release with QEMU support

22 Jan 21:48

Choose a tag to compare

This is a pre-release test version with initial QEMU support.

Test Release - Breakpoints Issue

15 Jun 00:30
083fbd7

Choose a tag to compare

Pre-release

Potential Issue for the Breakpoint Setting Issue

v0.1.21-test

13 Jun 23:37

Choose a tag to compare

v0.1.21-test Pre-release
Pre-release
Updated version number and changelog

Preview Testing Release for schultetwin1

30 Mar 21:51

Choose a tag to compare

V0.1.18-Pre2

Updated version number and change log