Connection to executable failed after applying 1.7.5 fix for debugging
by Jonathon Yurth · in Torsion · 08/24/2011 (11:23 am) · 0 replies
Hello,
Today I attempted for the first time to setup Torsion to remotely debug a T2D game and am getting the 'Connection to executable failed' message. This is using the project I build completing the Rainy Day Tutorial. This is what I have done so far:
Workstation A - Houses all the files.
Workstation B - Torsion installation. Shared drive to Workstation A's directory that contains T2D.
I start my RainyDayTutorial.exe on Workstation A and bring up the console. It displays the message 'Binding server port to default IP'. Then from Workstation B I start Torsion, select Debug->Connect. Put in the IP address (I have tried host name as well) of Workstation A and hit connect.
I am immediately shown the 'Connection to executable failed' dialog on Workstation B. If I go back to Workstation A and look at the console, it displays 'Debugger connection from 10.8.8.238'.
So it appears to me that it is somewhat working, however, I must have something slightly off somewhere. I should be able to debug in the above remote type scenario, right? Or am I required to have Torsion installed on the same machine as T2D?
Any ideas?
Today I attempted for the first time to setup Torsion to remotely debug a T2D game and am getting the 'Connection to executable failed' message. This is using the project I build completing the Rainy Day Tutorial. This is what I have done so far:
Workstation A - Houses all the files.
Workstation B - Torsion installation. Shared drive to Workstation A's directory that contains T2D.
- (On Workstation A) I have applied the fix which is supposed to resolve the debugger issue for Torsion.
- (On Workstation A) I have rebuilt the solution using Visual Studio 2008 and copied the new executable to my project directory.
- (On Workstation B) I have created a new configuration within Torsion named debug and pointed it to the new executable (which is on a shared folder and is the same folder that I run the executable from on the first workstation).
- (On Workstation A) I have placed the dbgSetParameters(6060, "password", false); line within the initializeProject() function of the main.cs in ../RainyDayTutorial/game
I start my RainyDayTutorial.exe on Workstation A and bring up the console. It displays the message 'Binding server port to default IP'. Then from Workstation B I start Torsion, select Debug->Connect. Put in the IP address (I have tried host name as well) of Workstation A and hit connect.
I am immediately shown the 'Connection to executable failed' dialog on Workstation B. If I go back to Workstation A and look at the console, it displays 'Debugger connection from 10.8.8.238'.
So it appears to me that it is somewhat working, however, I must have something slightly off somewhere. I should be able to debug in the above remote type scenario, right? Or am I required to have Torsion installed on the same machine as T2D?
Any ideas?