How can i debug the program line by line? i had added a breakpoint, when i run my program, it will stop at the breakpoint, but how to debug line by line?
sssdexter, first let me point you to FAQ222-2244 item 15 because of only 4 replies to the 19 threads that you have started. In fact the whole FAQ222-2244 will help you get the most from this site.
First of all, I apologize if i didn't manage to reply if i able to use any methods that you guys guide me. I really appreaciate whatever information that you guys given.
For your info, i drop down the debug menu, which i can see shortcut key from there like 'F8'. Can i see the value store in my variable as well? Like i have a variable : Dim s_str As String, so during my debug procedure, is there anyway i can see what value is storing in s_str?
You can do in a number of ways. I am usually using the watch window. while you have broken the execution of the program, highlight the variable you wish to monitor, right-click on it and select the "add watch" command. This will bring up a window with the name of the variable. click ok and another window will open on the bottom of the IDE showing you the variable you selected, its value and some more info. You can add as many watches as you want.
You can also hover over the string and see the current value, or click into the Immediate/Debug/Immediate window (VIEW|IMMEDIATE WINDOW) and copy the variable name there as:
?s_str
and with the cursor at the end of the string name, hit ENTER.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.