Re: [chronos] Debug Question
- From:
- Lichen Wang
- Date:
- 2010-01-18 @ 02:56
It is my opinion that your problem may be caused by the debugger.
Single stepping and breakpoints often produces unexpected side
effects. This is specially true for F5xx and F6xx.
I use the debugger only to load the object code to Flash. And I want
to get away from doing that if only I could.
On 1/17/10, Mario Steiner <wauschi@gmail.com> wrote:
> Dear all,
>
> I am facing difficulties debugging the program. I keep getting "Stack
> is filled" and parts of the code can't be reached. In fact the program
> stops at the first breakpoint and won't proceed. When setting a second
> breakpoint I asked to enable virtual breakpoints which does not help
> either.
>
> Sun Jan 17 21:38:57 2010: Breakpoint hit: Code @ Buttons.c:133.5
> Sun Jan 17 21:38:57 2010: The stack 'Stack' is filled to 100% (256
> bytes used out of 256). The warning threshold is set to 90.%
> Sun Jan 17 21:38:57 2010: The stack pointer for stack 'Stack'
> (currently Memory:0x2AD0) is outside the stack range (Memory:0x2AFE to
> Memory:0x2BFE)
> Sun Jan 17 21:38:58 2010: Failed to set hardware breakpoint. All
> available resources are already in use.
> Sun Jan 17 21:38:58 2010: Virtual breakpoints can be enabled in
> Options dialog under Debugger->FET Debugger->Breakpoints
> Sun Jan 17 21:38:58 2010: Performance warning: Lack of breakpoints
> forces single-stepping.
>
> I actually didn't change the sample code I did add only a single function.
>
> Cheers,
> Mario
>