Insert a break/debug point to suspend app execution

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
 
A

akphidelt

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.
 
P

Pete D.

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
 
R

RoyVidar

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top