ARM-software/vscode-embedded-debug

Path error when debugger tries to open source file in Codespaces

riestmo opened this issue · 8 comments

Type: Bug Report

Describe the bug

  • OS and Version: Ubuntu 20.04
  • VS Code Version: 1.74.3
  • Extension Version: v0.6.2
  • Target Device: CY8C624ABZI-S2D44:Cortex-M4

When starting a debug session in Github Codespaces, the debugger starts successfully and runs to main using the default setting for "debugFrom". However, it fails to open the main.c file as shown below.

image

I suspect it's a similar scheme issue as discussed in #7 (comment)

Expected behavior
The debugger opens the C file once a breakpoint is hit.

I'll investigate.

Out of interest, are you building the binary in the codespace or somewhere else?

I'm building it in the Codespace.

This is very frustrating. I think it's a bug in codespaces and github.dev regarding their file schemes.

This used to work, so is a recent regression. I'll need to create a reproducer and file an issue with GitHub

Thanks for raising this issue!

@riestmo We've released an update to the debug extension this morning which could fix this issue.

Could you confirm if you see any improvement?

Thanks for the update @thegecko ! I can confirm that the issue is fixed with the latest release v0.9.0.

Nice! Sorry about the delay