Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PlatformIO failes to start debugger on ARM #4506

Closed
dlschmidt opened this issue Jan 4, 2023 · 1 comment
Closed

PlatformIO failes to start debugger on ARM #4506

dlschmidt opened this issue Jan 4, 2023 · 1 comment

Comments

@dlschmidt
Copy link

dlschmidt commented Jan 4, 2023

Configuration

Operating system: Linux ubuntu-arm 5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:56:13 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

PlatformIO Version: latest

Description of problem

I am currently running a ubuntu virtual machine on my M1 because debugging also fails under MacOS. (platformio/platform-atmelavr#292)

Steps to Reproduce

  1. Create an ubuntu-server ARM virtual machine
  2. Install build-essential and gdb
  3. Start debugging (in my case an Attiny with usbASP)

Actual Results

VSCode prompts the following error under debug console:

undefinedPython Exception <type 'exceptions.ImportError'> No module named gdb: 

warning: 
Could not load the Python gdb module from '/home/nvidia/jenkins/workspace/avr-gcc-staging/label/nvidia-jetson-aarch64/objdir/share/gdb/python'.
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.

Expected Results

I can start debugging.

@ivankravets
Copy link
Member

This issue is not caused by PlatformIO. Please forward these details to https://community.platformio.org/ and our awesome community will help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants