I need to disable some code when run under the debugger.
So, I just imagine that doing:
{$IFNDEF DEBUG}
...
{$ENDIF}
However, the code inside the ifndef is executed in the debugger, makin it crash.
I have lazarus 0.9.29 & FPC 2.4.0
I need to disable some code when run under the debugger.
So, I just imagine that doing:
{$IFNDEF DEBUG}
...
{$ENDIF}
However, the code inside the ifndef is executed in the debugger, makin it crash.
I have lazarus 0.9.29 & FPC 2.4.0