Hi there.
Is there a way to prevent the debugger to step into specific code.
Use WndProc or some kind of OnDrawItem procedure as an example.
//Nordlund
Is there a way to prevent the debugger to step into specific code.
Use WndProc or some kind of OnDrawItem procedure as an example.
Code:
procedure Test;
begin
Memo1.Lines.Add('Debug this');
Memo1.Lines.Add('Debug this');
Memo1.Lines.Add('Debug this');
{DONOTDEBUG}
Memo1.Lines.Add('DO NOT! Debug this'); // This row should not be debugged
{DODEBUG}
Memo1.Lines.Add('Debug this');
Memo1.Lines.Add('Debug this');
end;
//Nordlund