Insert a break/debug point to suspend app execution

  • Thread starter Thread starter Jim
  • Start date Start date
J

Jim

I want to insert a break point into a module that will open up the module
code at that point so I can trace and debug.

Is there a single command I Can insert that will permit me to do that? Or
is the a neyboard combo that will allow me to suspend execution and step
through the code?

Thanks
 
i think you can add a break point in the code then step in to it. But I
sometimes get lazy and just type in a random letter on the line I want the
code to stop. This will generate an error which will send you to that
location and you can step in using F8 from there.
 
click on the left border next to the line you want it to stop (break) on, a
dot will appear. Then on the menu you can step through the code or press
the function key shown in the menu to step. Pete
 
Jim said:
I want to insert a break point into a module that will open up the
module code at that point so I can trace and debug.

Is there a single command I Can insert that will permit me to do
that? Or is the a neyboard combo that will allow me to suspend
execution and step through the code?

Thanks

I'm not sure I understand your question, but you can use the statement

Stop

anywhere in your program, which will halt/suspend code execution at
that point, and you can continue debugging with F8, Shift+F8, Ctrl+F8,
F5... in addition to placing breakpoints (Shift+F9 or click in the
grey bar at left).
 
Back
Top