Hitech C compiler debugging...

Status
Not open for further replies.
Hi,

I have learnt as how to compile program in Hi tech C for Pic compilers ...

Now one main question is how can i simulate the program step by step and check the internal registers of Pic microcontrollers...

Regards,

Simran..
 
simrantogether said:
Hi,

I have learnt as how to compile program in Hi tech C for Pic compilers ...

Now one main question is how can i simulate the program step by step and check the internal registers of Pic microcontrollers...

Regards,

Simran..

I do not use Hi Tech. But given that you are working inside MPLAB when you compile the program... just set debugger to MPLAB_SIM and set a breakpoint in the .c source and hit run.

The MPLAB instructions should cover this.
 
simrantogether said:
Hi,

Now one main question is how can i simulate the program step by step and check the internal registers of Pic microcontrollers...

Regards,

Simran..

It's the same procedure as using asm in MPLAB.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…