cortex-debug: Could not step over: TypeError: Cannot read property 'file' of undefined

Compiler: arm-none-eabi-gcc (GNU Tools for Arm Embedded Processors 7-2018-q2-update) 7.3.1 20180622 (release) Host OS: macOS Cataline (10.15.3) VSC: 1.43.1 J-Link: 6.65b (other version tried as well) Target CPU: Dialog DA14585 cortex-debug: v0.3.5

First of all: thanks a million for this great plug-in!

Got this error while single stepping a C code project with-in a static function. It works fine outside the static functions.

The specific function in this case, which can not be single-stepped is

static void setup_bme680(void)

I have included the .out file here for your help:

bme680-driver-design_585.out.zip

I have compiled with -O0 and -g3.

My launch.json file looks like this:

launch.json.zip

When I use the Debug terminal and enter i/n commands, single stepping works just like a charm, just not in the VSC UI.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 62

Commits related to this issue

Most upvoted comments

0.3.6 is released. Thank you all. Please re-open if needed