--- In [email protected], Rob Kennedy <[EMAIL PROTECTED]> wrote:
>
> fishsqzr wrote:
> > Is there any way (in Delphi 7) to disable debugging for
individual
> > methods (procedures and functions) or other select blocks of
code?  I
> > tried using {$D-} and {$L-} around the declaration and
implementation
> > code but that didn't work, which is what I expected since they
are
> > supposed to be global. 
>
> If you don't want to step into the function, then press F8 when the
> debugger is paused on the line that calls the function. If you're
> already in the function, press Shift+F8 to skip everything up to
the
> point where the function returns to its caller.
>
> If you don't want the debugger to break on exceptions during a
function,
> set two breakpoints around the function and adjust their properties
to
> enable and disable exceptions. (Right-click the breakpoint and
choose
> the "properties" menu item.) Also disable breaking for the
breakpoints
> themselves.
>
> --
> Rob
>
The problem is that I'm dealing with forms which have large numbers
of objects which have notification code involved.  That code gets
called by the system, so I have no chance to press F8 before I reach
the code. So, I end up wasting a LOT of time escaping from the
notification events.  What I was hoping to do was disable debugging
on the notification code altogether while leaving it intact in the
rest of the program so I could concentrate on the actual problem.






-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]




SPONSORED LINKS
C programming language Computer programming languages Java programming language
The c programming language C programming language Concept of programming language


YAHOO! GROUPS LINKS




Reply via email to