none
VS2010 msvsmon remote debugger "Unable to start debugging"

    Question

  • I try to remote debug a application - but it failed with the VS2010 error message "Error while trying to run project: Unable to start debugging". The interessting thing is that in one of hundred trys the remote debugging succeeded. That tells me that the base configuration should be okay.

    I also read the relevated similar links on that site - but nothing suits to my problem.

    Can somebody help me ?

    Here the facts:

    • Host System with Visual Studio Prof: Windows 7 64 Bit Ultimate German
    • Remote System with Remote Debugger: Windows 7 Prof 32 Bit English
    • Booth computer are in the same WORKGROUP (not domain)
    • Remote debugger is the 32 Bit version
    • The application is compiled for x86.
    • The remotedebugger is started under the user DebugUser
    • The visual studio is started under the same user with the same password (DebugUser).
    • Booth firewalls are completly disabled.

    I made these steps:

    1. If I press F5 at first i see in the remote debugger the message 'REMOTE-PC-NAME\DebugUser connected'. That shows that the visual studio reaches the remote debugger server.
    2. After that in the VS2010 the messages "Unable to start debugging" popped up and the debugging failed.

    The strange thing is as I already told in 1 of 100 cases the debugging succeeded.

    In the event log i see only a error message ID=1530 from 'User Profile Service'.


    • Edited by RG-B Thursday, March 08, 2012 8:10 AM
    Wednesday, March 07, 2012 2:41 PM

All replies

  • Hi RG-B,

    Thank you for posting in the MSDN forum.

    Based on your description, when you debug other projects, it doesn’t have this issue, so I afraid that it is not related to the configuration. Whether just the specific App has this issue when you remote debugger?

    In the event log I see only an error message ID=1530 from 'User Profile Service'.

    I did some research about this issue, it seems that it is related to Remote Desktop Services, see http://social.technet.microsoft.com/Forums/en/winserverTS/thread/a52c7dac-401b-4843-a69c-04a92ef16457. Hope it helps.

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    Friday, March 09, 2012 3:14 AM
    Moderator
  • Hi RG-B,

    I am writing to check the status of the issue on your side. 

    What about this problem now?

    Would you mind letting us know the result of the suggestion?

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, March 13, 2012 6:27 AM
    Moderator
  • Hello Jack,

    I have still the problem. I have the same problems with my host computer and other projects for remote debugging.

    Currently I can not remote debugging.

    RG

    Tuesday, March 13, 2012 7:17 AM
  • Hi RG-B,

    Glad to receive your reply.

    Do you mean that you could not debug all projects remotely now?

    Can you give us a screen shot about the detailed error message?

    If all projects have the same issue, I think we would check the configuration.

    Blogs about Remote Debugging:

    http://blogs.msdn.com/b/yash/archive/2007/12/20/remote-debugging.aspx.

    http://msdn.microsoft.com/en-us/library/2ys11ead.aspx. Hope it helps.

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    Tuesday, March 13, 2012 7:39 AM
    Moderator
  • Hi RG-B,

    Could you get useful information from my reply? Have you solved this issue?

    If not, please let us know the latest news about this issue.

    If you get any other error messages, please feel free to let us know.

    Thank you for your understanding!


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    Friday, March 16, 2012 1:39 AM
    Moderator
  • Thank you Jack.

    Currently there are no new findings. I think, that I can make new tests today afternoon.

    I will send the results as soon as possible.

    Best regards.

    R.G.

    Friday, March 16, 2012 8:14 AM
  • Hi RG-B,

    Any Update?:)

    Best Regards,


    Jack Zhai [MSFT]
    MSDN Community Support | Feedback to us

    Monday, March 19, 2012 4:28 AM
    Moderator