[Mono-list] Writing to the debugger?

Jonathan Pryor jonpryor@vt.edu
19 Apr 2002 12:01:29 -0400


Does Unix/Linux have an equivalent to Windows' OutputDebugStream(). 
That is, a way to send a message to the attached debugger (if there is
an attached debugger), and *not* to a console, log file, system logger,
etc.?

This would be useful, as the DefaultTraceListener is supposed to do
this.  (This is so that you can use the DefaultTraceListener without
introducing additional output on the console.)  Currently, it sends all
output to the console, which is undesirable.  I'd prefer to fix it, but
I'm not aware of the correct way to do that.

It seems like it would be possible for the debugged process to send a
signal + data to any attached debugger, but I'm not aware of any signal
that could be used in this fashion.

Any ideas?

Thanks,
 - Jon