inserting break in code

  • Thread starter Thread starter papa jonah
  • Start date Start date
P

papa jonah

How do I insert a break into code so that I can troubleshoot code that
occurs upon opening a file?
 
Add the single word:
Stop

near where you want to stop the code.

(Leave the project unprotected.)
 
Position your cursor where you want the break, then click Debug/Toggle
Breakpoint, hit F9, or just left click in the gray column to the left of your
code.
 
Sorry - you said code that runs when you open a file. You'll need to refer
back to Dave's advice. You can still step through (F8) an event handler.
 

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

Back
Top