|
-
Oct 11th, 2003, 05:40 PM
#1
Thread Starter
Lively Member
Breakpoints in vb.net?
I searched the board for breakpoints, and all the threads just said to set build to Debug, but that is what mine is set to.
But no matter where I set my breakpoints, it says they won't be hit.
Sometimes for "no symbols loaded" or "no executable code on this line".
How do I get the breakpoints to actually, you know, break?
-
Oct 12th, 2003, 01:15 AM
#2
Try deleting your bin folder then rebuild. I had a similar problem and that fixed it.
-
Oct 12th, 2003, 02:30 AM
#3
Thread Starter
Lively Member
that didn't do it, same message.
-
Oct 12th, 2003, 03:19 AM
#4
Maybe delete the solution files and start the the project by double clicking the project file to make a new solution.???
-
Oct 12th, 2003, 06:34 AM
#5
Frenzied Member
I can think of three possibilites.
1- you are using Release not Debug in the configuration manager, you can see it in the tool bar at top of IDE.
2- You have removed the tick for the Build in Configuration manager
3- if thats an ASPX file, removed the Debug=True from page directives.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
-
Oct 17th, 2003, 04:55 PM
#6
Thread Starter
Lively Member
I'm using Debug, Build is checked, and it's not an ASP file, anyone else have an idea?
-
Oct 17th, 2003, 05:02 PM
#7
So what exactly is the problem? Does it not let you place the breakpoints because it says 'no executable code' or do you set the breakpoints but they don't break. Is the problem with just this project or do they all do this? If all else fails try a reinstall.
-
Oct 17th, 2003, 06:07 PM
#8
Thread Starter
Lively Member
It sets them, but when I try to run it they get replaced with icon with a ? in the center.
This is the only thing I've done in VB.NET, so I don't know if it's a program wide problem
-
Oct 17th, 2003, 06:18 PM
#9
The ? is normal it always shows that at runtime. Are you sure the code you are setting the breakpoint at is getting run? Just make a simple app or part in yout app to test the breakpoints. Or set it in a form_load event of the startup form to make sure its not the specific location you are trying.
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
|