Problems in breakpoint setting - MC9S08GB60

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

Problems in breakpoint setting - MC9S08GB60

1,617 次查看
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
标签 (1)
0 项奖励
回复
1 回复

539 次查看
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 项奖励
回复