Re: [hatari-devel] A question about the debugger

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


On 18/09/15 19:56, Eero Tamminen wrote:
> Hi,
> 
> On perjantai 18 syyskuu 2015, Roger Burrows wrote:
>> On 17 Sep 2015 at 23:20, Eero Tamminen wrote:
>>> What exactly means "doesn't want to work"?
>>>
>>> - That only part goes to stderr and part to stdout
> 
> There are couple of things in debugger that go to stdout.
> Most things go either to stderr or debug log file (which
> is by default stderr).
> 
> 
>>> - That if you redirect both, nothing is in either of
>>>   the files
>>> ?
>>
>> If you redirect stderr to a file, the debug output (stderr, if I
>> understood correctly from previous posts) does not go into the  file. 
>> The output continues to go to the console window.  The file is 0 bytes
>> long.
> 
> Did you try both:
> 	hatari --trace gemdos . 2> stderr.txt
> 	hatari --trace gemdos . > stdout.txt
> ?
> 
> And were both of these files empty?

Maybe that's related to the console redirection code in
src/gui-win/opencon.c ? (That's needed because the SDL redirects the
output otherwise).

 Thomas





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/