Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

Debugger Keeps Timing Out...

We keep having a problem stepping through code (NII 1.1, IDE 1.1.0b137, QII4.2sp1) where we get:

The execution of program is suspended because of error.

Watchdog has expired. Target detached.

Anyone know what exactly this means?

Thanks,

Ken

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The watchdog this is talking about is a software one inside GDB which is waiting for the target to reply to a command it just sent.

    Exactly what code were you stepping over when the error occurred? Does stepping over it in assembler mode make any difference? (It probably doesn't but it will help diagnose the problem). Does step into work whereas step over doesn't?

    Finally, this may be due to a hardware problem so it might be worth looking at whether the memory you are running from is working correctly.