goto command

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

goto command

828 Views
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
Labels (1)
0 Kudos
2 Replies

301 Views
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 Kudos

301 Views
ElliottKevin
Contributor I
0 Kudos