This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Incorrect debug information, 1.2.0 SDK, SES 4.42a, asset_tracker example

I've just updated to the 1.2.0 SDK, and immediately ran into some trouble with debugging. In particular, two things occur that are puzzling, and perhaps related.

1.) After building the project, and selecting "Build and Debug" SES pops up a dialog box indicating the merged.hex is out of date, would I like to rebuild.  This seems to be some sort of glitch. I say no and continue. It's a minor annoyance, but it seems like it might indicate some sort of more serious problem.

2.) Once the program has loaded, SES will not let you set debugger breakpoints in main.c. It says there's no code there. There obviously is, and changing code there (for example the text in a LOG_DBG() call changes the behavior of the compiled binary. I've seen this problem with my own project, but it happens with an out of the box stock build of asset_tracker.

I'm not sure if this is an SES issue or a build issue. Any tips for narrowing down what's going on?

Josh

Related