locked
Break Points, all RRS feed

  • Question

  • Is there a way to put breakpoints on all of the lines in the code?


    Gee

    Thursday, July 16, 2015 2:57 PM

Answers

  • I have my reasons.

    :)

    Thank you for your replies...I was afraid there was no way and I guess I'll have to live with that.


    Gee

    • Marked as answer by GretaF Thursday, July 16, 2015 3:50 PM
    Thursday, July 16, 2015 3:50 PM

All replies

  • You can insert a breakpoint on any line you wish. But why would you want to insert one on all lines? Once you insert one on a line, the code will run until it hits the breakpoint, then you can use F8 to step through the code from there. There is no way to insert one on each line automatically that I know of.

    Thursday, July 16, 2015 3:09 PM
  • You can insert a breakpoint on any line you wish. But why would you want to insert one on all lines? Once you insert one on a line, the code will run until it hits the breakpoint, then you can use F8 to step through the code from there. There is no way to insert one on each line automatically that I know of.

    Taking up from where Lawrence left off, there is no reason to ever break on every line of code.  You break where you want to begin walking through your procedure and use the items on the menu bar under Debug to walk through your code, i.e. F8 (Step Into) as Lawrence mentioned, or Shift+F8 (Step Over), etc..



    Thursday, July 16, 2015 3:38 PM
  • I have my reasons.

    :)

    Thank you for your replies...I was afraid there was no way and I guess I'll have to live with that.


    Gee

    • Marked as answer by GretaF Thursday, July 16, 2015 3:50 PM
    Thursday, July 16, 2015 3:50 PM
  • Insert one 'debug.assert 0=1' in each line of code.
    Thursday, July 16, 2015 4:01 PM