01-10-2004, 08:27 PM
I realize that to step through code, you hit the F8 key, but when I'm stepping through my app, I have some code fire when it a button is clicked. However, .Net will seem to forget that I'm stepping through, and just run it like it's a full run. Has anyone else experienced this and know how to fix it?
01-10-2004, 08:30 PM
For starters, F11 is step in .net.
01-10-2004, 08:43 PM
Well, when I hit F11, nothing happens. Is there some option I need to turn on for step through to work?
01-10-2004, 08:48 PM
Typically I just set a breakpoint, start (F5) then F11 a line at a time.
01-10-2004, 08:49 PM
One of those duh moments right now. I had the keyboard scheme using the VB6 settings, so F8 was my step-through. Anyways, it still won't step through when I click a button. Any ideas?
01-11-2004, 06:48 AM
Does your code execution skip over the breakpoint that you place in the button? Are you sure that that is the right button with the code in it?
01-11-2004, 10:56 AM
Yeah, its the only button on the form :P. I have a breakpoint set there, but when it comes time to click it, it's like VB doesn't realize the breakpoint is there. Could it have something to do with how many breakpoints there are? It's a pretty big class, with several dozen breakpoints in it, could that be it? In any case, once I removed a few, it started to work properly again.