Recent

Author Topic: Debugging stepping in to built-in units like System or CRT?  (Read 471 times)

dfatl

  • Newbie
  • Posts: 5
Debugging stepping in to built-in units like System or CRT?
« on: February 14, 2023, 02:17:48 am »
Hello,

In this Windows console application I was testing the debugger and using F7, but it didn't trace in to things like "GotoXY(1,1)" it still stepped over it.   Virtual Pascal which I am currently using traces into the various units.  Is there an option to enable that in Lazarus?  Also startup code / auto initialization code.

TIA!!
« Last Edit: February 14, 2023, 02:25:32 am by dfatl »

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 10937
  • FPC developer.
Re: Debugging stepping in to built-in units like System or CRT?
« Reply #1 on: February 14, 2023, 09:24:28 am »
It requires an RTL compiled with debug info, and then it will trace into anything, even implicit string copying. (which why it isn't default).

You can probably build a complete system (FPC+Lazarus) with such debugging use FPCDELUXE.

 

TinyPortal © 2005-2018