I have a WinForms app in a single project written in VB.Net 2003 (legacy code). There is a MainForm and a SecondaryForm that is run by the MainForm. When I run the app thru the MainForm, I can debug with no problem. However, if I just run the SecondaryForm, I get the debug error, "There is no source code available for the current location", when stepping over,
_routeId = CInt(myVar)
At this point I am no longer able to debug thru my code window, but have to use the disassembled code.
Any ideas why this happens and how to fix this, please?