Does anyone knows how to use dbugintf?, I mean, where's the program that get the messages generated from SendDebug?.
Mailing lists / lazarus / 2010-10
Using dbugintf
5 messages · 3 people · –
- GGraeme Geldenhuys 2
- LLeonardo M. Ramé 2
- MMichael Van Canneyt 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Leonardo M. Ram? wroteDoes anyone knows how to use dbugintf?, I mean, where's the program that get the messages generated from SendDebug?.
The one I use and recommend is in lazarus/tools/debugserver.
There is also one in fcl-base/examples/dbugsrv.pp, but that is a primitive one which writes to the console.
Michael.
Show quoted text 11 lines
Michael Van Canneyt wrote 15 lines
Thanks!, it looks good.
The one I use and recommend is in lazarus/tools/debugserver. There is also one in…
Op 2010-10-19 21:38, Michael Van Canneyt het geskryf:
Show quoted text 5 lines
There is also a GUI debug server in fpGUI:
<fpgui>/examples/apps/debugserver/
:-)
Regards,
- Graeme -
Does anyone knows how to use dbugintf?, I mean, where's the program that get the messages…
Op 2010-10-19 19:10, Leonardo M. Ram? het geskryf:
Does anyone knows how to use dbugintf?, I mean, where's the program that get the messages generated from SendDebug?.
WARNING:
Just be warned that the dbugintf under Windows is dodgy/broken... if you generate too many debug lines (eg 500ms or less between calls), Windows starts loosing those debug messages and you don't see there output. All works fine under Linux though.
The safest debugging I have found to date, is the cached log classes in tiOPF. You don't need a tiOPF based project to use those classes. Simply register the log class (GUI, Console, File, System Events, System Logs or all of the above), then include 'tiLog' in the uses clause and start calling Log() or LogValue() or LogXXX().
I have done extensive testing with the tiOPF log classes, and they are defiantly reliable (unlike GDB integration in Lazarus IDE, or dbugintf under Windows). I use the tiOPF's Log To GUI mostly now - since I fixed the TThread.WaitFor work-around. tiOPF works fine with LCL too by the way.
Regards,
- Graeme -
