This project has moved and is read-only. For the latest updates, please go here.


Attach to process dialog error message


Create new python app
Debug/Attach to Process
In Transport combo, select Python remote debugging (unsecured)
Click the Refresh button near bottom right

The error message that comes up is too low level.
Microsoft Visual Studio
Unable to connect to ''.  The format of one argument does not meet the contract of the method.

file attachments

Closed May 15, 2015 at 10:36 PM by huguesv
Not important enough.


pminaev wrote Jul 28, 2014 at 11:07 PM

Unfortunately, there's no way to return an error message to the debugger for it to display, so we're restricted to stock HRESULT messages (this particular one is for FormatException). We can show our own error dialog, but then it'll pop up whenever someone tries to attach programmatically, too...

pminaev wrote Jul 29, 2014 at 7:40 PM

On a second thought, we already pop up UI prompts for connection errors, and this isn't really any different.