The debug option "On un" is set to "Main"
Did you turn on any optimizations?
I wern't aware of doing anything ? I was running the degugger to set points, stopping, chaning cod ein main.c and running again in a debug cycle.
It was happily jumping to main each time. Now it jumps to the other position and when I click run it jumps to the reset in main. I now have to hit run twice to run the code.
Because I don't know how it got to this state, I cannot get it back to normal.
Clean, close, reboot and a new build did not help?
I'm also having this same behavior now, except that the debug session still runs correctly with only one click.
Edit : upgrading to Creator 3.1 seems to have corrected this problem.
Clean build and restart have not worked.
I applied latest SP2 patch and still does not change the behaviour.
Currently downloading and will install early release 3.1 and see if that changes anything.
Version 3.1 Creator fixes the issue. Debug now starts and beginning of Main.c
BTW: Is it mandatory to be a cat lover in this forum :)
I installed verison 3.1 of creator. Started debugging but as I started writing code, I got assertion errors
Expression BeginFileID == EndfileID (when I attempt to #include a header file or write code).
I then reverted back to version 3 creator but now the toolchain does not work (the components were all updated in the project when I installed version 3.1).
How to I get back the original toolchain ? I did select to archive it when first running the project in version 3.1
Seems I have to live with the debugger starting i another module and getting to main on second click of run button.
1 of 1 people found this helpful
This seems a bug in the cypress decorator interpreter.
Place a newline at end of your code.
Hope they'll fix it soon, this is against misra compliance.