True-Time Simulator and Real-Time Debugger breakpoint troubles

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

True-Time Simulator and Real-Time Debugger breakpoint troubles

跳至解决方案
2,881 次查看
mikehockstein
Contributor I
Hey,
 
I'm having a little difficulty using True-Time Simulator and Real-Time Debugger.  I make my program and there are no errors.  I click debug and True-Time Simulator starts up.  Place a break point in at a certain function so that when it gets called the program will stop and I can check a few things out.  I run the program and then I call the function.  The program runs without stopping. It goes right through the break point like it doesn't see it.  Strangely I did this very same thing on Friday and it worked.
 
Second note that confuses me.  I place a breakpoint in main before anything really gets going in the program.  Once I run it the debugger stops the program at the breakpoint.  As soon as I hit "step over" the program stops and it tells me "no source reference found."  I'm not sure why that is or how to fix this problem.
 
Can anyone explain these problems and possibly why they are happening and how I can maybe make my breakpoints work again?


Message Edited by mikehockstein on 2008-02-26 09:24 PM
标签 (1)
标记 (1)
0 项奖励
回复
1 解答
1,080 次查看
CrasyCat
Specialist III
Hello
 
1- Application does not stop when function is called
    Where did you attempt to set your breakpoint? In a CodeWarrior edit window or in the
    debugger source window?
    In fact you need to set the breakpoint in the debugger/simulator source window.
    Breakpoints set in the IDE edit window are not transferred to the debugger.
    Also, when you are in the debugger click with the right mouse button in the Source window
    and select Mark. Is there a red mark in front of the instruction where you wanted to set a breakpoint?
    If not there is no code generated for that instruction so you cannot set a breakpoint there.
 
2- Are you sure you have generated debug information for your application source files?
    Is there a dot next to the file name in the column with the green bug?
 
CrasyCat

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,081 次查看
CrasyCat
Specialist III
Hello
 
1- Application does not stop when function is called
    Where did you attempt to set your breakpoint? In a CodeWarrior edit window or in the
    debugger source window?
    In fact you need to set the breakpoint in the debugger/simulator source window.
    Breakpoints set in the IDE edit window are not transferred to the debugger.
    Also, when you are in the debugger click with the right mouse button in the Source window
    and select Mark. Is there a red mark in front of the instruction where you wanted to set a breakpoint?
    If not there is no code generated for that instruction so you cannot set a breakpoint there.
 
2- Are you sure you have generated debug information for your application source files?
    Is there a dot next to the file name in the column with the green bug?
 
CrasyCat
0 项奖励
回复