Recent

Author Topic: How to debug packages?  (Read 2867 times)

Человек_Борща

  • New Member
  • *
  • Posts: 33
    • My little IT world.
How to debug packages?
« on: December 04, 2014, 10:35:14 pm »
Greetings!

I have some package, which in run-time(with-in IDE) raises some errors.
I found plase of the error, but how I can use some debugger? Or log to file? Or log to somewhere else?

How to do that?
With best regards, Alexandr.
_
OS: Windows 8.1 x64 / Ubuntu 14.02 x64
IDE: CodeTyphon 5.4 (win32-win64/win64) / FPC 3.1.1

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: How to debug packages?
« Reply #1 on: December 05, 2014, 09:21:39 pm »
I found plase of the error, but how I can use some debugger?
Run the IDE under debugger (from terminal or another lazarus instance opening lazarus.lpi), don't forget to rebuild with debug info (see Configure Build Lazarus dialog).
Or log to file? Or log to somewhere else?
--debug-log=/path/to/logfile.whateveryouwant

 

TinyPortal © 2005-2018