Operating System - Linux
1827994 Members
2530 Online
109973 Solutions
New Discussion

Remotely debug C++ applications

 
Danilo Turina
New Member

Remotely debug C++ applications

Hi,
I develop a C++ application (aCC 3.31) for HP-UX 11.11, that I debug with wdb.

When I release it to our test team, they install it in test benches and test it.

There are some cases when I need to debug directly on the test machines but, since the test benches are not development machines and hence they don't have neither debuggers nor source code, this is very difficult/problematic for me.
The "simple" solution would be to install some "debug agent" on the test machines, while running wdb on the devel machines and let it connect remotely to the processes that have to be debugged.

I saw that gdb supports remote debugging (but not for HP-UX) and I have done some search about remote debugging for HP-UX, but I found nothing.

Is there some tool/solution to achieve this?
2 REPLIES 2
Dennis Handly
Acclaimed Contributor

Re: Remotely debug C++ applications

The correct solution is to download gdb and install it on your test machines. And you'll need the sources too.
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,1665,00.html

Any mention of "remote debugging" may be for kwdb or other implementations.
Danilo Turina
New Member

Re: Remotely debug C++ applications

gdb allows remote debugging (but not for HPPA architecture) through gdbserver so, in effect, for other architectures the remote debugging is possible.

I would like to now if there's the possibility to achieve this (remote debugging) with wdb or other debuggers for HPPA/HPUX.

Thank you.