minor issue:
normally, i set a breakpoint on the opening "{" of a function in order to break there. it does not work for the main() function.
int main(void) {//main int i=0; while(1) { i++; i--; } }
1) set to Debug mode, build
2) set breakpoints on every line
3) "run" in simulator
4) simulator will break on "int i=0;" and not on "{//main"
btw: breakpoint on line "int main(void)" says "unable to set breakpoint". bp on "{//main" does not complain.
setting breakpoint on opening "{" for all other functions seems to work.
EDIT: I am talking about Debug mode.