Question:
- Is it possible to debug, when the target is on a remote host?
Example:
# ddd --debugger /usr/bin/bashdb <sript-name> (on remote host)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use gdbserver on the target (remote) machine as explained there.
Then follow the config steps for gdb remote debugging (look up the gdb doc), typing the commands in the ddd console window (it’s a pass through to the gdb prompt).
This could be something like this (if your link to the target were an USB to serial link, for instance):
or
to debug the gdbserver on IP the-target,using TCP port 2345.