Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stepping through code
Message
 
 
To
14/09/2000 14:21:56
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00416545
Message ID:
00416956
Views:
25
>Is there any reason or cause that stepping through my code fires the events and performs the procedures, but not stepping through the code seemingly does nothing? Any help would be greatly appreciated, I can give you the exact code and circumstances if necessary.
>Thanks in advance,
>Charity

It is often caused by having code in the got/lost focus events. These can be fired by your program as it switches between the Debugger and the running app. This can cause your program to appear to perform incorrectly (or correctly in the one case that I had) where it never did before. If it is something specific you are degugging use debug.print and pring the info to the debug window (ie. debug.print "VARNAME in PROC/EVENT: VALUE") so you can watch them change. Your best bet to find the glitch is set breakpoints in your app and try to narrow down where the bug is that way set the breakpoint check the call stack and the appropriate variables and then if they are right move your breakpoint farther into the app and rerun it, if they are wrong back the break point up in the app and rerun it this way misfiring events caused by the debugger don't interfere.

Hope this helps.
Previous
Reply
Map
View

Click here to load this message in the networking platform