- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved! Go to Solution.
- Tags:
- IFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Additionally if you have imported the project, make sure that you have followed the right procedure. Under import -> Infineon -> Dave project. Also make sure that the build is in debug mode and not in release mode.
One more thing is to look for is optimization. If it is set to something else than "-O0", the compiler may optimize redundant code parts away, thus you may not be able to set breakpoints there anymore.
To check it
Right click on project in project explorer -> "Properties", there you can go to "C/C++ Build" -> "Settings"
From there you can select in the "Tool Settings" tab:
"ARM-GCC C Compiler" -> "Optimization" -> "Optimization level" --> which you can set to -O0 to avoid any optimization. The end result is slower/larger code, but you should be able to set breakpoints wherever you like.
"Debugging" -> "Debug level" --> which should be on "Default (-g)" to enable the compiler to generate the additional data in the binary for debugging
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you facing the issue with all the projects ? If it is happening to only to this project could you please confirm whether you have imported the project form existing one ?
Best Regards,
Vasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Additionally if you have imported the project, make sure that you have followed the right procedure. Under import -> Infineon -> Dave project. Also make sure that the build is in debug mode and not in release mode.
One more thing is to look for is optimization. If it is set to something else than "-O0", the compiler may optimize redundant code parts away, thus you may not be able to set breakpoints there anymore.
To check it
Right click on project in project explorer -> "Properties", there you can go to "C/C++ Build" -> "Settings"
From there you can select in the "Tool Settings" tab:
"ARM-GCC C Compiler" -> "Optimization" -> "Optimization level" --> which you can set to -O0 to avoid any optimization. The end result is slower/larger code, but you should be able to set breakpoints wherever you like.
"Debugging" -> "Debug level" --> which should be on "Default (-g)" to enable the compiler to generate the additional data in the binary for debugging
Best Regards,
Vasanth