|
-
Jul 17th, 2002, 08:11 AM
#1
Thread Starter
New Member
Debbuger in .NET?
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.
-
Jul 17th, 2002, 07:07 PM
#2
Lively Member
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...
-
Jul 17th, 2002, 08:27 PM
#3
Junior Member
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
-
Jul 17th, 2002, 10:11 PM
#4
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|