outputdebugstring lazarus / 12-Debugger ---------------------------------------------------------------------- neodivx · 2007-01-11 20:38 hi everybody well, when i send a outputdebugstring in delphi, i can choose if i send it in the debug window of delphi, or send the message to another software ( like debugview ) is this possible in lazarus ? thanks ---------------------------------------------------------------------- Phil · 2007-01-11 21:29 Quote from: "neodivx" well, when i send a outputdebugstring in delphi, i can choose if i send it in the debug window of delphi, or send the message to another software ( like debugview ) is this possible in lazarus ? Note that OutputDebugString is a Windows API call. Is there something universal we can use? WriteLn can't be used in GUI apps with Windows. ---------------------------------------------------------------------- Vincent Snijders · 2007-01-12 10:21 I know two options: 1. Use debugln, see FAQ for more details. 2. Use MultiLog. ---------------------------------------------------------------------- neodivx · 2007-01-12 11:12 thanks for the hint but, still, the debug strings are send in the debug windows of lazarus, when you're working on lazarus, and outside lazarus when you run the exe only ( that's normal by the way ) but how can i send the debug strings outside lazarus when i'm working on it ( for delphi 2006, you do: tools, option, debugger options, and you uncheck: integrated debugging ): so, all your debug messages are not more handle by delphi: is that possible in lazarus ? ---------------------------------------------------------------------- Vincent Snijders · 2007-01-12 11:17 I am not sure if this is what you want: In the debugger options, set the debugger to none. Now, the application is simply started by the IDE, so you cannot set break points etc. If you disable GUI application, you can see the text written to stdout. ---------------------------------------------------------------------- neodivx · 2007-01-13 12:19 thanks all for your posts. it's help to do what i want. to explain all the stuff, in visual studio, you can keep the debugging stuff ( like break points ) and send the outputdebugstring outside the ide ( to debugview for example): i'd try to find the same way, but different soft, different way to think i know this is not the place for, but, by the way, i'm working on a commercial stuff, and i love lazarus ( even if i have delphi professionel for that ): it's easy, well thought ( the autocompletext on combobox is just wonderfull ), you don't have to learn pascal again lazarus sometimes crashes: like delphi anyway: but delphi, when you want to reload it, it takes minutes, lazarus is so lite to call back thanks all people who're working on this stuff: this is really a great tools ( make me back to pascal, after years of c# working )