Results 1 to 3 of 3

Thread: Code Trapper?? Please??

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 1999
    Posts
    184

    Post

    Could someone give me a hint of how to look at the code a program is Currently going through and print it out. I dont care if you just tell me, I need to know how to . Thankyou.

    Evan

  2. #2
    Addicted Member
    Join Date
    Jan 1999
    Location
    Sydney,NSW,Australia
    Posts
    178

    Post

    Evan,

    Have you looked at the debugger options in vb. Not sure if this is what you want, but call your project up into the ide, (vb development environment), go to the code window, and single click on the left hand side of the code window. You should see a dot with the line highlighted.

    Pressing F8 will execute the code one line at a time, F5 will execute as normal from the break-point. If you more your mouse pointer over variables record values etc a highlighted label will appear detailing what is currently stored in that variable or whatever.

    There are quite a few other options available as well.

    Hope this helps

  3. #3
    Lively Member
    Join Date
    Jul 1999
    Posts
    99

    Post

    jritchie's suggestion is fine but i have to add... running in step-mode (F8) will help a lot specially when debugging your code but
    sometimes, when you only need to view code execution in a particular line of a procedure or a function it can be tiring, you can use F9 by placing the cursor over the particular line where you want to use as breakpoint.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width