2010/7/18 Sven Barth <[email protected]>: > It basically does the following: > 1) Raise an exception containing the message.
OK, this seems to be the missing piece of the puzzle for understanding whats going on. I was basing all my theories only on this: http://unixwiz.net/techtips/outputdebugstring.html and there they don't mention the exceptions. I have just posted a question about how this mechanism works on the GDB mailing list. One option to solve my dilemma would be that GDB would be modified so that it itself calls OutputDebugString() again to propagate the messages originating from such exceptions and the other one would be to label them differently when they are outputted to the console so they could easily be grepped and separately displayed in an IDE window. AFAIK Delphi also has the possibility to display these messages conveniently in an IDE window. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
