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

Keil cannot step through C code #1

Open
jeromeDms opened this issue Oct 24, 2023 · 1 comment
Open

Keil cannot step through C code #1

jeromeDms opened this issue Oct 24, 2023 · 1 comment

Comments

@jeromeDms
Copy link

Hi there
I just bough the Nuvoton edition of Keil ARM compiler as I have to develop on the M471 MCU.
When running your USB Host examples, I cannot step the debugger through C code but only through disassembly.
The debug informations are checked in the settings, I did not change anything from your example project.
Any help would be appreciated
I'm runnning Keil latest version, on parallels desktop software running windows on Mac, I tried Win 10, Win 11, Mac M1 and Mac Intel.
Thanks

@jeromeDms
Copy link
Author

Replying to myself.
Problem comes from Keil running on parallel desktop for MacOS.
It seems there is an issue with source files PATHs, if they are located in the main directory it just works fine (can set breakpoints), if they are located in a sub directory or outside the main Keil project directory, the linker is not able to retrieve C code to enable debugging with breakpoints.

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