Visual Studio Developer Center > Visual Studio Forums > Visual Studio Extensibility > how to do the debug the dsl out put digram ?
Ask a questionAsk a question
 

Answerhow to do the debug the dsl out put digram ?

  • Saturday, October 31, 2009 11:22 AMPoothapandian Subramanian Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Actually  I have Dsl project and run it , it showing some shapes with connectors
    for each shape I have generate the code using T4 Template and create the solution project .
    but I know how to debug the code. because it is C# code.
    How can I debug  and put break point in the dsl Output( it means digtram shapes )  .
    I want to debug  and put break point like WF (Microsoft)
    in my Dsl output digram.
    •  

Answers

  • Monday, November 02, 2009 8:16 PMGarethJonesMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Poothapandian Subramanian,
    It IS possible to achieve a graphical debugging experience, but you'd have to implement a full debugger extension for Visual Studio.  This is a fairly major undertaking that's probably only worth it if you are buildign a commercial grade DSL to ship as product.  If you want to go down this route, have a look in the VS SDK docs for extending the debugger.

    Gareth Jones - Architect - DSL Tools & Visual Studio eXtensibility [MSFT]

All Replies

  • Monday, November 02, 2009 8:16 PMGarethJonesMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Poothapandian Subramanian,
    It IS possible to achieve a graphical debugging experience, but you'd have to implement a full debugger extension for Visual Studio.  This is a fairly major undertaking that's probably only worth it if you are buildign a commercial grade DSL to ship as product.  If you want to go down this route, have a look in the VS SDK docs for extending the debugger.

    Gareth Jones - Architect - DSL Tools & Visual Studio eXtensibility [MSFT]
  • Wednesday, November 04, 2009 10:34 AMPoothapandian Subramanian Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Gareth Jones,

    Really thanks for your idea. but I cant find  VS SDK docs for entending debugger.
    if you have any samples or any URLS  please send me. 
    It will be very usefull for me.

    Thanks,
    PoothaPandianS