Windows Azure Platform > Azure Forums > Live Framework > Local / Offline Debugging
Ask a questionAsk a question
 

AnswerLocal / Offline Debugging

  • Wednesday, November 05, 2008 6:37 PMKevin Hoffman Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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

  • Wednesday, November 05, 2008 6:53 PMDanny ThorpeMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    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

All Replies

  • Wednesday, November 05, 2008 6:50 PMVikas-AhujaMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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.
  • Wednesday, November 05, 2008 6:52 PMKevin Hoffman Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
  • Wednesday, November 05, 2008 6:53 PMDanny ThorpeMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    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
  • Wednesday, November 12, 2008 4:50 AMDanny ThorpeMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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