FWIW, I have actually seen this behaviour in VS2010 before as well. When debugging Windows Services, I have to do the old Debug...Attach to Process trick. My guess / theory is that because I'm currently working on OLD hardware (think ~ 7 years old) the debugger attaches to the Windows Service and takes a while trying to load the PDB files causing the mismatch. This doesn't always happen, but it does. Usually I just stop debugging, rebuild all, and then start over and things work normally. Could that be happening here- i.e. a timing issue between the PDB being loaded and the IDE interrupting the execution ?
On Thu, Oct 13, 2011 at 08:31, Elan Hasson <[email protected]> wrote: > Wally, > I have seen this behavior with all project types in VS2010 in general. My > understanding is that this occurs when the source code does not match the > binary being debugged (PDBs out of date). > I resolve this by doing a build clean. > Hope this helps, > Elan > > On Thu, Oct 13, 2011 at 10:15 AM, Wally McClure > <[email protected]> wrote: >> >> A couple of issues that I am seeing: >> >> I'm able to set breakpoints in VS. When i debug on my evo device, the >> breakpoints are hit, however, the lines that are stopped on don't always >> correspond to the specific line of a breakpoint. >> I'm finding that the app that I want to debug seems to sometimes startup >> on the device and sometimes not. >> >> I'm guessing that these are bugs. >> >> I'm using Visual Studio 2010, Win7 x64, M4A 1.9.1. >> >> Wally >> >> _______________________________________________ >> Monodroid mailing list >> [email protected] >> >> UNSUBSCRIBE INFORMATION: >> http://lists.ximian.com/mailman/listinfo/monodroid >> > > > _______________________________________________ > Monodroid mailing list > [email protected] > > UNSUBSCRIBE INFORMATION: > http://lists.ximian.com/mailman/listinfo/monodroid > > -- http://www.opgenorth.net _______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
