Recent

Author Topic: How to trace into LCL, RTL  (Read 3329 times)

vladvons

  • Jr. Member
  • **
  • Posts: 65
How to trace into LCL, RTL
« on: September 27, 2013, 01:58:12 am »
How to turn on/off trace into LCL, RTL sources?
« Last Edit: September 27, 2013, 08:03:32 am by vladvons »
Windows 7, Ubuntu 12.04, Lazarus 1.2.2, FPC 2.6.4, PostgreSQL 9.2

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: How to trace into LCL, RTL
« Reply #1 on: September 27, 2013, 08:29:20 am »
How to pass parameter into :InTableName?
See help documentation on parameterized queries
http://www.freepascal.org/docs-html/fcl/sqldb/usingparams.html
http://wiki.freepascal.org/SQLdb_Tutorial3#Parameterized_queries
How to turn on/off trace into LCL, RTL sources?
Compile FPC, then Lazarus with at least -g. Then you can run the debugger and step through the LCL and RTL code.
Edit: In some versions (FPC trunk x86, Windows), debugging does not seem to work.
« Last Edit: September 27, 2013, 09:13:51 am by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

 

TinyPortal © 2005-2018