This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: attach to a socket in localhost:8787


On Thu, 2006-09-28 at 09:14 +0100, op132650c@mail.telepac.pt wrote:
> Hi,
> 
> i would like to debug my program remotely, attaching my the gdb to a socket on
> localhost:8787. How can i do that?
> 
> I've tried target remote 127.0.0.1:8787 and it doesn't work. Ie, the Jboss
> application server aborts.

If it's really the localhost, ie. the same IP that gdb is running on,
then you just say "target remote :8787".

Or I think you can say "target remote localhost:8787", but I'm not sure.
The first syntax should work.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]