- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working with a cy8ckit-059 trying to write see some sensor values read through i2c. The code compiles fine and I can step through it in debug without error; however, in the "Locals" window that appears while in debug mode the local variables aren't listed. I would like to be able to see the values of the sensors I'm communicating with as i step through the code. Is this not something that I can do? Do I need to setup a connection to a teraterm window or something? Thanks in advance.
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Set the compiler optimization level to "none" (Project->build settings->Arm...->Compiler->Optimization...). Optimization keeps variables in registers when possible, so they cannot be shown by the debugger.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Set the compiler optimization level to "none" (Project->build settings->Arm...->Compiler->Optimization...). Optimization keeps variables in registers when possible, so they cannot be shown by the debugger.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Saves the day again, Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're always welcome!
Happy coding
Bob