Yeah, that's my guess as well. I tried to unzip the XAP, and there is no PDB file in it, so I guess you have the assembly, the PDB and the code available in VS, which is attached to your browser from your last debug session... So I don't think VS cares that the code comes from the web, as long as you have the PDB and code available locally.
My guess. On Wed, May 7, 2008 at 12:30 PM, Damian Edwards <[EMAIL PROTECTED]> wrote: > Completely guessing here, but VS is attached to your instance of IE > running locally (like it does to debug javascript) so opening in another tab > still means the debugger is able to see any code executing there, and > because it's the same assembly running VS hits your breakpoint. > > Regards, > > *Damian Edwards > *Readify | Senior Consultant > > M: 0448 545 868 | E: [EMAIL PROTECTED] | C: > [EMAIL PROTECTED] | W: www.readify.net > > > > *From:* [EMAIL PROTECTED] [mailto: > [EMAIL PROTECTED] *On Behalf Of *Stephen Price > *Sent:* Wednesday, 7 May 2008 11:46 > *To:* [email protected] > *Subject:* [OzSilverlight] Weird debugging > > > > Ok, now I just stumbled upon something very weird. > > I have a local Silverlight app that I am working on and I was in debug > mode... and sitting on a breakpoint. Business as usual. I uploaded the bits > needed to run it to my web host and in the same browser as the one running > the Silverlight app locally (paused on breakpoint) I ran the online version > in a new Tab. OMG it hit a breakpoint in Visual Studio! > > Is this trickery? I understand the Silverlight is running in a local > browser, so now that I think about it debugging a remote web site (assuming > the Web.Config file lets me) shouldn't be an issue. But how did I attach to > the thing? Also, I guess, how do I debug a remote web site intentionally? > (Without having to fool it by running a local copy in debug). Do I just put > the remote url in the debug properties of the site? might try that out... > > This is very cool. Is this common knowledge? I'm still cutting my teeth > here porting my skills from WPF to Silverlight... > > cheers, > Stephen > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > ------------------------------------------------------------------- > OzSilverlight.com - to unsubscribe from this list, send a message back to > the list with 'unsubscribe' as the subject. > Powered by mailenable.com - List managed by www.readify.net > ------------------------------------------------------------------- OzSilverlight.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com - List managed by www.readify.net
