During single step debugging project.as file open

Discussion in 'Embedded Systems and Microcontrollers' started by ecaits, Feb 19, 2014.

  1. ecaits

    Thread Starter Member

    Jan 6, 2014
    52
    0
    Hello friends,

    When I am start single step debugging, .as ("projectname.as") file open and compiler continuously running on that only. I dont know why.

    I am using MPLAB 8.92 version with hi-tech C compiler and debugger is MPLAB ICD 2. I am working on PIC16F877.

    Plz support me if anybody know about this problem.

    I am new in this field.
     
  2. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Perhaps you could explain this a little more. The problem is that you are seeing the disassembly when attempting to debug in C, is that right?

    By the way, the compiler is not running when you are debugging, the compiler had already run. That's why you have the disassembly in the first place...
     
  3. Ian Rogers

    Member

    Dec 12, 2012
    158
    29
    The '.as' file is the startup file... Near the bottom of the file there is a long jump to the main() routine.... The '.as' file can seem long as it can bit quite long.
     
  4. ecaits

    Thread Starter Member

    Jan 6, 2014
    52
    0


    Dear Sir,

    So what I have to do to get directly on my .c file???
     
  5. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    In the menu go to window and select one of the tile window options. What does your window look like then. Which windows do you see?
     
    Last edited: Feb 20, 2014
Loading...