Problems in breakpoint setting - MC9S08GB60

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

Problems in breakpoint setting - MC9S08GB60

1,258 Views
santhu
Contributor I
Hi
  
   I'm using HCS08 family controller (MC9S08GB60).In this i can set the breakpoint in my main programme.If i call the function from main and that  function is in other file i not able to put breakpoint there(from source code if i right click the set breakpoint option will come and if i click that breakpoint will not set).The compiler i'm using is codewarrior version 6.0). Please let me knw wht is the wrong in my code.
 
With Regards
  
   santhosh
 
 
 
Added p/n to subject.


Message Edited by NLFSJ on 2008-09-11 12:33 PM
Labels (1)
0 Kudos
1 Reply

180 Views
Witztronics
Contributor IV
Many times this is caused by the code not really being there. 
 
Make sure you code is not being deleted by the compiler as "dead" code.  You can change the options, but I believe by default, any code that has no way of actually being run, will be removed.  
 
Make sure it's not a piece of code that has no way of being entered during flow of your program.
0 Kudos