Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-02

Detecting if a debugger is attached

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Torsten Bonde Christiansen

Hi List.

Is there any way to know (using code) if a debugger is attached to my program?

I know that in delphi there was some way of knowing, but I'm not sure if there exists such an option for Lazarus or Free Pascal.

Kind regards,
Torsten Bonde Christiansen.

Reply by email

Martin
to Torsten Bonde Christiansen
Torsten Bonde Christiansen wrote 8 lines
Hi List. Is there any way to know (using code) if a debugger is attached to my program? I know that in delphi there was some way of knowing, but I'm not sure if there exists such an option for Lazarus or Free Pascal.

I don't know of any ready made units. But google "anti debugging techniques"

Reply by email