Local / Offline Debugging
- I noticed this morning that when not connected to the Internet, you can't debug your application because it goes through the deployment routine. Is there any way to skip the deployment and run your application in local debug mode against the local LOE ? It would be handy for scenarios when I'm coding and I'm on the train or in some ridiculous hotel trying to charge me $20/night for internet access.
The .NET Addict - http://dotnetaddict.dotnetdevelopersjournal.com
Answers
Automatic debugging against the local mesh client is not yet supported by the VS tools.
However, if you launch the local mesh app manually you can attach to the process (meshhost.exe) and VS should let you step through source code from there. (I haven't tried this yet, so let me know how it works for you)
Our goal for the VS tools is to do all development against the local LOE and let the local LOE deal with sync'ing things back to the cloud. All the parts needed to do that aren't ready yet, so for the PDC CTP we redirected the VS tools to upload and debug mesh apps in the cloud.
-Danny
http://dannythorpe.com- Proposed As Answer byVikas-AhujaMSFT, ModeratorWednesday, November 05, 2008 6:54 PM
- Edited byDanny ThorpeMSFT, ModeratorWednesday, November 05, 2008 6:54 PM
- Marked As Answer byVikas-AhujaMSFT, ModeratorThursday, November 06, 2008 6:26 PM
All Replies
- For this CTP Release, we don't have local/offline debugging available yet. This is a scenario we would be working towards in future releases.
This posting is provided "AS IS" with no warranties, and confers no rights. - OK cool. Just wanted to make sure there wasn't a hidden switch or compiler option somewhere that I was missing.
The .NET Addict - http://dotnetaddict.dotnetdevelopersjournal.com Automatic debugging against the local mesh client is not yet supported by the VS tools.
However, if you launch the local mesh app manually you can attach to the process (meshhost.exe) and VS should let you step through source code from there. (I haven't tried this yet, so let me know how it works for you)
Our goal for the VS tools is to do all development against the local LOE and let the local LOE deal with sync'ing things back to the cloud. All the parts needed to do that aren't ready yet, so for the PDC CTP we redirected the VS tools to upload and debug mesh apps in the cloud.
-Danny
http://dannythorpe.com- Proposed As Answer byVikas-AhujaMSFT, ModeratorWednesday, November 05, 2008 6:54 PM
- Edited byDanny ThorpeMSFT, ModeratorWednesday, November 05, 2008 6:54 PM
- Marked As Answer byVikas-AhujaMSFT, ModeratorThursday, November 06, 2008 6:26 PM
- Followup: Debug process attach to meshhost.exe to debug your Silverlight and DHTML mesh-enabled web apps running on the local desktop works like a charm!
http://dannythorpe.com

