MPLAB IDE - Source Files Window Tabs

Status
Not open for further replies.
Hi,

This is only my third day of 'C18' programming and I know this is a bit trivial but it's bugging me....

When I build my main source file the editor window 'focus' keeps shifting from my source file tab to the c018i.c tab. Means more unnecessary mouse clicking. Same thing happens when I program the PIC.

Any way of stopping this? Thanks in advance for any help.




**broken link removed**
 
Turn off the Simulator (select "none" in the <debugger> and <select tool> menus)...
 
Last edited:
C0 is the startup code to setup the stack and init constants. Most often we do not care about or want to see it. Some debuggers have a option to run to main() and that solves the problem.

Short of that you have to set a breakpoint in main and hit run.

It is easy enough to deal with.

EDIT: I have seen people end up in C0 because there is a problem with the program. Like trying to run bits other then what they think they just compiled. If that makes sense.
 
Last edited:
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…