Answered Debugger - local variables

  • Thursday, August 16, 2012 3:49 AM
     
     
    Is it possible to access local variables during debugger session from a VS addon?

All Replies

  • Friday, August 17, 2012 8:09 AM
     
     Answered

    Hi,

    I want to know what local variables you want to debug?

    I know a way which I always use it to debug my web page. You can try as:

    • Debug->Attach to Process
    • Choose the process which you want

    Then debug your project. It will show the variables you want.

    Best regards,

  • Friday, August 17, 2012 10:29 AM
     
     Answered

    Using 

    Debugger.GetExpression()

    you can read local variables by their fully qualified names.

  • Tuesday, August 28, 2012 7:28 AM
    Moderator
     
     

    Hi EliMLi,

    I will mark Adolf and Simon's reply as answers.

    Please unmark them if you feel they are not the answers.

    Thank you for your understanding and support.

    Best regards,


    Ego [MSFT]
    MSDN Community Support | Feedback to us