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

Imported project can't debug imported core library source level #5

Open
JamesCaska opened this issue Jan 4, 2020 · 0 comments
Open

Comments

@JamesCaska
Copy link

Not being an AVR expert I am struggling to figure out the correct settings to enable debugging of the library level. ie if I step into and Arduino function such as digitalWrite() I want to be able to debug at the source code level.

I know it's possible because when I use Atmel Studio to create an Arduino Sketch project and then import that project into MPLABX I can debug the core sourcecode in the simulator ( but only in Release mode ).

Atmel Studio creates two separate projects, a Sketch and a Core project. I have all projects pointed to the same toolchain that ships with the Arduino platform.

I noticed that the Atmel project uses 's' optimisation and this might be related. Anyhow I will keep searching but it might be useful to add a 'debug core' option to the importer to setup a configuration suitable for debugging the core level.

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

1 participant