This is the mail archive of the insight@sourceware.org mailing list for the Insight 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: How to connect to running program via a serial port


Nik Shaylor wrote:
If I do Open File->Target Settings
etc. still have to use the "Run" command and this always continues the
execution of the program which is just what I don't want it to do.

Don't use the run button. Use the Run menu. One of the items should allow you to attach to the target. That does the equivalent of the "target remote" command on the command line.


The only way I seems to get it to work is to start Insight running
before the program wants to start talking to the debugger. This does
not really work for me because I'm using the serial port for program
trace information as well so I just want to start the debugger when I
can see from the trace that the program has got into trouble.

This should work. Of course, now that I don't have access to a serial board of any type, problems are difficult to diagnose...


Keith


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