Click to See Complete Forum and Search --> : Debbuger in .NET?
moon248
Jul 17th, 2002, 08:11 AM
In Visual Basic.Net, how can I use the debuger to break at a line and then step through the code line by line as I did in VB.6?
Also I would like to be able to exammine the variables in the immediate window. Now when I break and go to the Immediate windows and try to see what's in a variable it tells me out of scope.
ShoqG
Jul 17th, 2002, 07:07 PM
Moon,
I believe the debugging tools havent changed from VB6 to .net. At least they havent changed significantly... You still set your break point to where you want it and then run the program... I believe it's F11 to step into...
VBDon
Jul 17th, 2002, 08:27 PM
You can change the setup of your IDE, go to Tools, Options and select Keyboard from the Environment folder. In the keyboard mapping scheme dropdown, select 'Copy of Visual Basic 6'. That way you can use F8 to step into as in VB6.
Hope this is useful
hellswraith
Jul 17th, 2002, 10:11 PM
Also I would like to be able to exammine the variables in the immediate window. Now when I break and go to the Immediate windows and try to see what's in a variable it tells me out of scope.
This means that when you entered break mode the variable was out of scope. Try clicking in the area beside the line on the left you want to break on to put the little red dot there. This will break your app at that point. If your variable is within scope, it will be there.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.