Debugger halts in dummy function :-(

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

Debugger halts in dummy function :-(

975 Views
saibhargavi
Contributor II

Hi,

 

I have written a piece of code using MQX where i scan the analog input samples every 125ms. I take total of ten samples and every one second i convert the sample monitored. When i run this code the debugger halts in some dummy function as shown the screen  and it stays there for ever

 

Best Regards

 

Sai Bhargavi

 

error.JPG

Message Edited by t.dowe on 2009-12-09 03:07 PM
0 Kudos
2 Replies

349 Views
Jairo
Contributor III
i've seen this too running the debugger, but in my case this happens because there aren't a ready task, for example: i was using two tasks but each one has a "big" delay  and  while the delay is happening MQX send the ProgrmaCounter to some DummyFunction written in asm. After the delay is happened returns to the first ready task.
0 Kudos

349 Views
J2MEJediMaster
Specialist I

It sounds like you have a spurious interrupt occuring. Usually, for debugging purposes most interrupt routines in the default vector table catch an unexpected interrupt and trap the thread of execution in a spin forever loop so that you can realize the bogus interrupt happened and you can look for it.

 

---Tom

 

0 Kudos