Page 1 of 1

Debug your programs on a remote machine from the new IDE

Posted: Sat Aug 20, 2005 4:33 pm
by freak
Hi there,

I started this as just a little side project to make my coding life a bit easier,
but since it is a very usefull tool, i thought i'd share it with all of you.

I use a VMWare virtual machine for testing on different Windows versions.
However, while in active development, i found it quite annoying to always
need to compile the program, copy it over, execute it and then go back
to the main OS to continue coding. Also the lack of the debugger for these
tests was a problem, and i did not want to copy all the sources to the
virtual machine, just to be able to compile with the debugger there.

Well, to solve this problem, i wrote this new tool for the IDE. It basically
sends the executable to the remote machine, executes it there, and connects
it to the debugger in the IDE. So debugging in the virtual machine is now
as simple as hitting F5 in the IDE. And you can use the full debugger
features from the IDE to control the program on the remote computer.
(except the CPU monitor, which does not report correct results there)

I also use this now to test programs on another computer in our house.
For this i have a VNC connection to do the user input to the program,
and the debugging is nice and easy from the IDE.

Well, enough talk. You can get it on my site in the tools section:

http://freak.purearea.net/tools/

Make sure you read the readme.txt, and tell me what you think.

Posted: Sat Aug 20, 2005 5:02 pm
by KarLKoX
Excellent ! This is a very usefull tool, thank you for sharing :)

Posted: Sat Aug 20, 2005 6:39 pm
by Num3
Extreme coolness !!!

You better go patent the idea, someone else will steal it and copyright it!

Posted: Sat Aug 20, 2005 8:48 pm
by dracflamloc
This has been around a hell of a long time. Can't patent it ;)

But it's good to see that PB has it!

Posted: Sat Aug 20, 2005 11:54 pm
by thefool
really nice.!

Posted: Sun Aug 21, 2005 12:01 am
by Dare2
Neat. Thanks.

Posted: Tue Jan 17, 2006 6:57 am
by Shannara
Cant believe I just saw this as I dont usually visit this forum :) Any chance for an OSX and Linux version?

Re: Debug your programs on a remote machine from the new IDE

Posted: Thu Oct 19, 2006 4:01 pm
by dell_jockey
freak wrote:.... and i did not want to copy all the sources to the
virtual machine, just to be able to compile with the debugger there.
Hi Freak,

for this very reason, my VMware host has a file share that contains the source tree. My virtual machines map a drive to this share. One code base, compile everywhere...

I like the remote debugger a lot. I'd like to see that on Linux as well.

Thanks for sharing!

Posted: Sat Nov 10, 2007 9:17 pm
by QuimV
@freak,

I'm trying to remote debug a program but the Remote Debugger (local IDE) try to connect with 127.0.0.1:700 and the Remote IP Server configured is 192.168.0.10, so the Remote Debugger can't connect with the Remote Server.

Why the Remote Debugger don't use the IP configured (192.168.0.10) and use instead 127.0.0.1?

Could you help me?

Thanks in advanced

Posted: Sat Nov 10, 2007 11:21 pm
by freak
Its because the temporary exe is no longer stored inside the compilers folder.
I will upload an update for this tool after the weekend.

Posted: Sun Nov 11, 2007 10:45 am
by QuimV
:D
@freak

Thanks a lot for your quick answer.
I will wait the update. :D

Posted: Mon Nov 12, 2007 6:57 pm
by freak
You can download an updated version at the above location.
(The settings are now stored with the PB prefs in the APPDATA folder btw)

Posted: Tue Nov 13, 2007 2:19 pm
by QuimV
Great, It runs fine!
Thanks a lot!