Sounds like you're using the MPLAB simulator in 'Debug' mode and not using a real PIC. without seeing your program it is impossible to say what is really wrong though if it 'stops' in that header file, perhaps look in it to see what is happening?
Another option is to select 'single step' operation. That WILL show you exactly which line of code it stops at.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum