Visual Studio Developer Center > Visual Studio Forums > Visual Studio Extensibility > How to debug the VS 2008 Shell isolated Application ?
Ask a questionAsk a question
 

AnswerHow to debug the VS 2008 Shell isolated Application ?

  • Wednesday, May 21, 2008 11:39 AMsragupathi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    Hi,

    I have created VS 2008 Shell Isolated Application and added one custom editor package in to that. Here I am not sure how to debug that application. Thanks for your help !

     

    Raghu

Answers

  • Tuesday, May 27, 2008 6:31 PMQuan ToMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Try this:

     

    - Right click on your shell stub project and select properties

    - Select the Configuration Properties / Debugging option

    - Change debugger type to "mixed"

     

    I just tried it out with a custom package created in the isolated shell and it worked.

     

All Replies

  • Wednesday, May 21, 2008 8:27 PMQuan ToMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

     

    How did you add your custom editor package?  If you added it as a project, you should just be able to hit F5 in your VS instance and set breakpoints in your package.

     

    Is that not working for you?

     

  • Thursday, May 22, 2008 3:11 PMFBNitro Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Actually, that doesn't work for me either, and I added my packages as new projects. 

    I build the project, run the myShell.exe and under debugging select attach to process and select the running executable.

  • Thursday, May 22, 2008 8:08 PMQuan ToMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Are your packages loaded when the shell is launched?

    I'm wondering if your dependencies are set correctly in your shell project.

     

  • Friday, May 23, 2008 3:39 PMFBNitro Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    It appears that my packages are loaded correctly when I just hit the play button inside studio (if I make changes they appear immediately).  Also the Shell Dependancies are setup correctly for my packages (at least it appears so in the dialog).

    Everything seems to work fine except I can't debug without launching and attaching explicitly.

  • Saturday, May 24, 2008 4:31 AMQuan ToMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    sorry if this is a silly question but are you building a debug flavor of your project?

  • Monday, May 26, 2008 3:23 PMFBNitro Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yes I am.  I believe all the settings are still on the defaults also.

  • Tuesday, May 27, 2008 6:31 PMQuan ToMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Try this:

     

    - Right click on your shell stub project and select properties

    - Select the Configuration Properties / Debugging option

    - Change debugger type to "mixed"

     

    I just tried it out with a custom package created in the isolated shell and it worked.

     

  • Tuesday, May 27, 2008 6:45 PMFBNitro Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    It works great, thanks a bunch!