MPLAB SIM debugger Questions

Last year, I was able to run the MPLAB SIM debugger, which is a nice tool BTY. Kind of makes me feel like I am using Visual Basic in a sort of way…geez…I wish this stuff was PLCs (programmable logic controllers)

Anyway…When I run MPLAB SIM debugger on the code released 1-12-2005 I get some errors because it’s looking for the serial information it’s not finding because I am not connected to the camera or controller.

Has anyone figured out an easy way to debug your code with MPLAB SIM without getting all those UART errors?

UART-W0006: Receive file has no data or failed to attach when UART receive mode Enabled.
CORE-E0001: Stack over flow error occurred from instruction at 0x002d4a

I use the conditional compilation check for _SIMULATOR to bypass the USART communications.
There is also a register stimulus feature that can be used to emulate PIC h/w functions like the USART, but I haven’t used it in a year. I also don’t know how MPLAB has changed in regards.

Oh yeah…that’s what I forgot. I need to add that in the MACRO def in Projects.

I gave that shot and it’s working somewhat. Seems to be stuck in a loop. I’ll keep looking at it now that I am past the UART errors.