>D3 – Anyone know a way to mark a block of source code where the debugger
>won’t break for an exception. I have try..except blocks to catch
>’deliberate’ throws and having the debugger break in them is a real
>pain.
[code lang=”delphi”]var
OldExceptClass: TClass;
begin
// save
OldExceptClass := ExceptionClass;
// turn off
ExceptionClass := nil;
try
raise Exception.Create(‘und der debugger merkt nichts mehr ‘);
except
end;
// re-activate
ExceptionClass := OldExceptClass;
end;
[/code]
[tags]Delphi, IDE[/tags]
0 Kommentare zu “No Break on Exception – D3”