Brian Stecher
12/01/2008 8:47 AM
post17620
|
Setting breakpoints in ISRs are not supported, for the same reason that
making a kernel call is not - it invokes kernel services which can not
be invoked in that environment. You're lucking the system didn't just
fall over and die.
On Mon, Dec 01, 2008 at 06:43:59AM -0500, Malte Mundt wrote:
> A customer reported an issue with setting a breakpoint in an ISR. He says the breakpoint gets hit, but then the single
stepping doesn't work (seems to step not along the source lines) and local variables content are displayed incorrectly.
>
> I reproduced it with a small test program (attached).
>
> Is setting breakpoints at all supported in ISR's? If not, why not?
>
>
> - Malte
>
>
> _______________________________________________
> OSMeta
> http://community.qnx.com/sf/go/post17611
--
Brian Stecher (bstecher@qnx.com) QNX Software Systems
phone: +1 (613) 591-0931 (voice) 175 Terence Matthews Cr.
+1 (613) 591-3579 (fax) Kanata, Ontario, Canada K2M 1W8
|
|
|
Jeevan Mathew(deleted)
12/01/2008 10:35 AM
post17639
|
If you need some software working in the ISR you could use :
TraceEvent()
and do the tracing stuff......
Jeevan
|
|
|