[fpc-devel] Video unit -- bug? Tracedump -- request?
Peter Vreman
peter at freepascal.org
Wed Feb 16 10:02:04 CET 2005
>> Video doesn't restore terminal settings on Linux after exiting --
>> the
>> command line doesn't show any typed in text, and doesn't process CR
>> characters... Is this a bug? And if not, what's the cure? (except of
>> course
>> manual reset of the console after execution)
>
> Do you call donevideo?
>
>> LineInfo/Tracedump -- Is there an easy way to make the output of the
>> tracedump after a crash be appended to a file? Or redirected at all? I
>> need
>> people to submit bug-reports, and while using Video unit the dumps arent
>> readable at all on linux... :-(
>
> Don't know, try:
>
> ./x 2> filename.txt
>
For heaptrc you can use SetHeapTrcOutput("heap.log").
For normal runtime errors/exceptions with backtrace there is no way to
redirect. The writing of that info is to stdout for compatibility.
More information about the fpc-devel
mailing list