Recent

Author Topic: Step into Lazarus system files  (Read 2776 times)

Winch

  • New Member
  • *
  • Posts: 22
Step into Lazarus system files
« on: February 13, 2017, 10:36:00 am »
I have just started using Lazarus, and find that sometimes when debugging if I use the F7 (Step Into) key it steps into a maze of Lazarus system files. Is there any way of stopping this and restricting the debugger to my own files. I am willing to accept that my problems are not in the system files.

Thaddy

  • Hero Member
  • *****
  • Posts: 18728
  • To Europe: simply sell USA bonds: dollar collapses
Re: Step into Lazarus system files
« Reply #1 on: February 13, 2017, 10:54:03 am »
First: If you see you are in system files use F8 later.
Second: You can recompile Lazarus and FPC without debug info.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

Winch

  • New Member
  • *
  • Posts: 22
Re: Step into Lazarus system files
« Reply #2 on: February 13, 2017, 12:04:08 pm »
Thanks Thaddy for your quick reply. I think you are saying you can't turn it off.

I have used F8 and shift F8, when in system files, but it can take some time to get out and seems a bit of a pain as you never quite know when you are going to delve into the system files.

I appreciate that you can turn off the debugger - but I am at the stage when I need it.  :D

Thaddy

  • Hero Member
  • *****
  • Posts: 18728
  • To Europe: simply sell USA bonds: dollar collapses
Re: Step into Lazarus system files
« Reply #3 on: February 13, 2017, 12:15:52 pm »
You really have to recompile both FPC libraries and Lazarus libraries to get around that.
I just use F8, rather nervously... Because I use trunk.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

Winch

  • New Member
  • *
  • Posts: 22
Re: Step into Lazarus system files
« Reply #4 on: February 13, 2017, 01:08:07 pm »
Again thanks Thaddy. I have only just started using Lazarus, so am using what was downloaded. I think I will keep it simple and just carry on. I have had a Google of trunk but am not sure what it is and what it adds.

 

TinyPortal © 2005-2018