goto command

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

goto command

跳至解决方案
5,036 次查看
desponia_
Contributor I
i m using codewarrior V3.1.0 and the target is M68KIT912DP256. when i compile or make my project and after enter the debug mode it can not be used goto command.
 
but the old version for debugger whose name is motorola modular development system (MMDS), YOU CAN USE THİS COMMAND EASILY.
 
i m sure that there is a way to implement this.but i can not find. please help me to find.
 
 best regards.
 
标签 (1)
标记 (1)
0 项奖励
1 解答
1,147 次查看
CrasyCat
Specialist III
There is no such command available in CodeWarrior for HCS12 V3.1 debugger.
What you can do here is:
  - Set a temporary breakpoint at the beginning of the instruction (Same as a
     Run to Cursor with the GUI)
  - Wait for the application to stop
  - GO to continue execution if you do not want to actually stop
  - Write your additional commands
 
This is encoded as follows in the command file:
   BS timaISR  T   // Set temporary breakpoint at function timaISR  entry point
   WAIT ;s             // Wait till application stops (on teh breakpoint)
    GO                   // Continue execution of teh application
   // Insert additional commands here.
 
I hope this helps.

在原帖中查看解决方案

0 项奖励
4 回复数
1,147 次查看
CrasyCat
Specialist III

Hello

What are you attempting to achieve with the goto debug command?

goto command is used within a command file to skip a set of commands.

Are you using teh goto command within a comamnd file? Can I get a look at the content of teh command file?

0 项奖励
1,147 次查看
desponia_
Contributor I

Dear friend

i will use the goto command to understand if my code goes any function without using break.

for example you are using tima intterrupt function called timaISR

if you want to learn if it works rigth you can use following command in mmds , old kind of debugger , command window.
 
goto timaISR by this command my codes must executed until timaISR and
must wait for my next command.
 
best regards.
0 项奖励
1,148 次查看
CrasyCat
Specialist III
There is no such command available in CodeWarrior for HCS12 V3.1 debugger.
What you can do here is:
  - Set a temporary breakpoint at the beginning of the instruction (Same as a
     Run to Cursor with the GUI)
  - Wait for the application to stop
  - GO to continue execution if you do not want to actually stop
  - Write your additional commands
 
This is encoded as follows in the command file:
   BS timaISR  T   // Set temporary breakpoint at function timaISR  entry point
   WAIT ;s             // Wait till application stops (on teh breakpoint)
    GO                   // Continue execution of teh application
   // Insert additional commands here.
 
I hope this helps.
0 项奖励
1,147 次查看
desponia_
Contributor I

THANKS A LOT DEAR FRİEND

YOUR RESPONCE WAS DIFFINETLY WHAT I NEED.

GOOD CARE OF YOURSELF ALOT

BEST REGARDS

0 项奖励