using vb.net 2008 When I put a break on a line and then press F5 the debugger does break on the line which I put the Break (F9) but Step In (F8) as well as F5 are grayed out, not working, as well as a bunch of other debug tools. Any clue why this is?开发者_如何学Python Is there a setting that needs to be set?
It's probably because you're running a Release Build. Check if you have a combobox somewhere on your toolbars with the text Release... you should select Debug instead.
If you have trouble finding this toolbar, this MSDN article might help you.
Is it because that breakpoint will never be hit because it is not lying in your path of execution?
Make sure that you can F5
into the entry point ( typically, the main()
method) and start from there.
精彩评论