On 2022-01-03 13:28, James Richters via fpc-pascal wrote:
I’m curious if there is some way, perhaps with some directive or something to force a debug backtrace to happen, but without an error.

Christo already offered you a solution, but to offer an alternative solution... Most IDE debugging functionality (or even GDB directly) allows you to set a Breakpoint with iteration count or some other expression. So instead of the default, triggering the breakpoint instantly, you can trigger in with a different criteria. Once the breakpoint is triggered, then you can look at the Call Stack and evaluate local variables and such.

Regards,
  Graeme

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to