Results 1 to 3 of 3

Thread: trace vb execution

  1. #1

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    London
    Posts
    99

    Wink

    I need to trace the execution of my app'.

    Without putting in code into every module etc to write to a file (which would take forever) does anybody know of any add-ins etc.


  2. #2
    Lively Member
    Join Date
    Jan 1999
    Location
    Lincolnshire, UK
    Posts
    111
    There are several ways of tracing your code, but only through the design environmet

    1. Watches - Add a watch to a particular variable (right-mouse click on it and select add watch)
    2. Step through the code - Use F8 to run one line at a time and Shift-F8 to run a function without stepping in to it.
    3. Breakpoints - Either use F9 or click on the grey bar next to the line of code to halt execution at that line when it gets to it.

    Once the code has been halted for any reason you can use the immediate window (Ctrl-G) to print out the contents of variables or to re-run functions etc. Also if you hold your mouse over the variable, it will show you it's current value

    Cheers

    Chris

  3. #3

    Thread Starter
    Lively Member
    Join Date
    May 2000
    Location
    London
    Posts
    99

    Talking

    Thanks for that Chris, but I was hoping for a 3rd party tool
    that my code would run inside.

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