Debug your programs on a remote machine from the new IDE
Debug your programs on a remote machine from the new IDE
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.
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.
Last edited by freak on Thu Oct 19, 2006 11:28 pm, edited 1 time in total.
quidquid Latine dictum sit altum videtur
-
- Addict
- Posts: 1648
- Joined: Mon Sep 20, 2004 3:52 pm
- Contact:
-
- Enthusiast
- Posts: 767
- Joined: Sat Jan 24, 2004 6:56 pm
Re: Debug your programs on a remote machine from the new IDE
Hi Freak,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.
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!
@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
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
QuimV