DBG: Reduce the amount of data dumped in DBG_VERBOSE mode

git-svn-id: trunk@28375 -
This commit is contained in:
martin 2010-11-20 21:24:44 +00:00
parent 25abe82bd4
commit db375daf4f

View File

@ -372,7 +372,12 @@ begin
FFlushAfterRead := False;
//writeln('TCmdLineDebugger.ReadLine returns ', result);
{$IFDEF DBG_VERBOSE}
debugln('<< TCmdLineDebugger.ReadLn "',Result,'"');
{$IFnDEF DBG_VERBOSE_FULL_DATA} if length(Result) < 150 then {$ENDIF}
debugln('<< TCmdLineDebugger.ReadLn "',Result,'"')
{$IFnDEF DBG_VERBOSE_FULL_DATA}
else debugln('<< TCmdLineDebugger.ReadLn "',copy(Result, 1, 100), '" ... "',copy(Result, length(Result)-50, 50),'"')
{$ENDIF}
;
{$ENDIF}
end;