FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour error log
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
error log
Posted: Wed Oct 05, 2011 09:29 AM
suggestion for error.log

Hello Antonio,
would you be so kind to insert a space before and after the line number of the error.
This way one could click on the line and copy the line number to clipboard for inserting
It to the function “Goto line” in your editor without removing the brackets.
Thanks in advance
Otto
Code (fw): Select all Collapse
cErrorLog += CRLF + "Stack Calls" + CRLF

      while ( n < 74 )
          if ! Empty(ProcName( n ) )
             AAdd( aStack, "   Called from: " + ProcFile( n ) + " => " + Trim( ProcName( n ) ) + ;
                           "( " + NTRIM( ProcLine( n ) ) + " )" )
             cErrorLog += ATail( aStack ) + CRLF
          endif
          n++
    end

Called from: C:\ENTWIC~1\WINHOTEL\classes\TPlan.prg => TPLAN:COPYTOLOCAL( 2269 )

Continue the discussion