goto command

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

goto command

1,384 次查看
ElliottKevin
Contributor I
dear warriors
 
could you say me how i can use the go to command in command line of debug window. for instance goto command make your codes execute untill given label.
 
goto port_init
   ...
   ..
  ...
port_init
 
when i used this command in command window of debug, there is an eror message that "goto command can only be used on command window"
 
do you have any idea? this command is very important to test code execution.
best regards
标签 (1)
0 项奖励
回复
2 回复数

857 次查看
CrasyCat
Specialist III

Hello

 

- Which CPU are you targeting (HC08, HC12, Coldfire, ..)
- Which version of CodeWarrior are you using?


To retrieve that info:
- Start CodeWarrior
- Select Help -> About Freescale CodeWarrior
- Click on "Install Products"
- CodeWarrior version used is displayed on top in the Installed Products dialog.

 

Are you using the goto command within a debug command file?

You cannot use the goto command in the command window itself. You can only use it within a command file.

 

CrasyCat

0 项奖励
回复

857 次查看
ElliottKevin
Contributor I
0 项奖励
回复