Is there quick way to set multiple breakpoints?

F

Fred Boer

Hello! I am examining the code in a somewhat involved (for me at least!<g>)
function in order to learn how it works. I thought I would try setting
breakpoints on all of the lines in the function, so that I could watch it
work, line by line.

1. Is there an easy way to select a big chunk of code and automatically set
a breakpoint on all appropriate lines (i.e. on code, not comment lines, dim
statements, etc..). I know I can comment or uncomment a block of code...

2. Or is there a better way to step through code line by line?

Thanks!
Fred Boer
 
R

Robin Guest

Fred,

Use F8 to step through your code.

If you have a function, write a procedure which calls the
function as you cannot launce from a function in some
cases.

You will then be able to step thro a line at a time.

You can then put breaks as well if there are bug loops in
the code and use F5 to run to the next break.

Hope that this helps.

Robin
 
F

Fred Boer

Thanks, Robin!

Fred


Robin Guest said:
Fred,

Use F8 to step through your code.

If you have a function, write a procedure which calls the
function as you cannot launce from a function in some
cases.

You will then be able to step thro a line at a time.

You can then put breaks as well if there are bug loops in
the code and use F5 to run to the next break.

Hope that this helps.

Robin
 

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