goto command

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

goto command

Jump to solution
5,016 Views
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.
 
Labels (1)
Tags (1)
0 Kudos
1 Solution
1,127 Views
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.

View solution in original post

0 Kudos
4 Replies
1,127 Views
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 Kudos
1,127 Views
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 Kudos
1,128 Views
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 Kudos
1,127 Views
desponia_
Contributor I

THANKS A LOT DEAR FRİEND

YOUR RESPONCE WAS DIFFINETLY WHAT I NEED.

GOOD CARE OF YOURSELF ALOT

BEST REGARDS

0 Kudos