Dear Antonio,
how can I implement FWLOG into my mod harbour programs.
Is the sourcecode of FWLOG function public?
Thank you in advance
Otto
mod harbour FWLOG
mod harbour FWLOG
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: mod harbour FWLOG
Dear Otto,
From your PRG you call ShowConsole(), this will open a second Apache console window.
From that moment on, you can simply use QOut( ... ) and it will appear on the Apache console
that simple
From your PRG you call ShowConsole(), this will open a second Apache console window.
From that moment on, you can simply use QOut( ... ) and it will appear on the Apache console
that simple
Re: mod harbour FWLOG
Dear Antonio,
I never opened an Apache console window.
Does this only work if I work with localhost or also from the internet?
Thank you in advance
Otto
I never opened an Apache console window.
Does this only work if I work with localhost or also from the internet?
Thank you in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
Re: mod harbour FWLOG
Dear Antonio,
in the meantime I added following function to my code.
Inside GENESIS index.prg I inserted a lot of logging calls.
logging( "nach AddLog" )
Now the hard work begins understanding what the code does:
678 GETCOOKIES
678 GETCOOKIES
678 GETCOOKIES
82 browse
93 routes
98 ->GET
419 VIEW
419 VIEW
359 GETCONTENT
359 GETCONTENT
359 GETCONTENT
359 GETCONTENT
419 VIEW
419 VIEW
359 GETCONTENT
359 GETCONTENT
359 GETCONTENT
...
Is there an other way to see what the program does.
Thank you in advance
Otto
//----------------------------------------------------------------------------//
function logging( cText )
local cLog
cLog := memoread("c:\xampp\htdocs\samples\genesis\prg.log")
cLog += ALLTRIM( str(procline(1)) ) + " " + cText+ CRLF
MEMOWRIT("c:\xampp\htdocs\samples\genesis\prg.log" , cLog, .f. )
return nil
in the meantime I added following function to my code.
Inside GENESIS index.prg I inserted a lot of logging calls.
logging( "nach AddLog" )
Now the hard work begins understanding what the code does:
678 GETCOOKIES
678 GETCOOKIES
678 GETCOOKIES
82 browse
93 routes
98 ->GET
419 VIEW
419 VIEW
359 GETCONTENT
359 GETCONTENT
359 GETCONTENT
359 GETCONTENT
419 VIEW
419 VIEW
359 GETCONTENT
359 GETCONTENT
359 GETCONTENT
...
Is there an other way to see what the program does.
Thank you in advance
Otto
//----------------------------------------------------------------------------//
function logging( cText )
local cLog
cLog := memoread("c:\xampp\htdocs\samples\genesis\prg.log")
cLog += ALLTRIM( str(procline(1)) ) + " " + cText+ CRLF
MEMOWRIT("c:\xampp\htdocs\samples\genesis\prg.log" , cLog, .f. )
return nil
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: mod harbour FWLOG
Dear Otto,
You can use the debugger and specifically the one provided by Antonino Perricone for vscode
I will make a video explaining how to use it...
You can use the debugger and specifically the one provided by Antonino Perricone for vscode
I will make a video explaining how to use it...
Re: mod harbour FWLOG
Dear Antonio,
thank you so much.
This will be of great help.
Best regards
Otto
thank you so much.
This will be of great help.
Best regards
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
Re: mod harbour FWLOG
Dear Antonio,
I have looked the video. Thank you so much.
Would you please post the download links for IDE and Debugger.
Thank you in advance
Otto
I have looked the video. Thank you so much.
Would you please post the download links for IDE and Debugger.
Thank you in advance
Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
********************************************************************
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: mod harbour FWLOG
Dear Otto,
vscode:
https://code.visualstudio.com/
From vscode, click on extensions and look for "Harbour" and select the one from Antonino Perricone
many thanks
vscode:
https://code.visualstudio.com/
From vscode, click on extensions and look for "Harbour" and select the one from Antonino Perricone
many thanks