error log

error log

Postby Otto » Wed Oct 05, 2011 9: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: Select all  Expand view
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 )
Image
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 114 guests