Recent

Author Topic: New install of laz and fpc problem(Closed)  (Read 752 times)

JLWest

  • Hero Member
  • *****
  • Posts: 1293
New install of laz and fpc problem(Closed)
« on: January 14, 2023, 10:19:05 pm »
I installed LAZ and fpc.

How do I get the debugger to work or configured?

Thanks
« Last Edit: January 15, 2023, 12:32:24 am by JLWest »
FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: New install of laz and fpc problem
« Reply #1 on: January 14, 2023, 10:25:52 pm »
If you installed Lazarus using the official installer, the debugger should be set up.
You can go to Tools->Options to check the debugger setup (or chose another debugger).

Bart

JLWest

  • Hero Member
  • *****
  • Posts: 1293
Re: New install of laz and fpc problem
« Reply #2 on: January 14, 2023, 10:31:50 pm »
@Bart

I just downloaded lazarus-2.2.2-fpc-3.2.2-win64.exe and ran it. About to redo it.

FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

JLWest

  • Hero Member
  • *****
  • Posts: 1293
Re: New install of laz and fpc problem
« Reply #3 on: January 14, 2023, 10:37:56 pm »
I still can't get a debugger working.

What do I do under tools?
The only thing I see maybe is configure external tools.
« Last Edit: January 14, 2023, 10:40:42 pm by JLWest »
FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

Bart

  • Hero Member
  • *****
  • Posts: 5290
    • Bart en Mariska's Webstek
Re: New install of laz and fpc problem
« Reply #4 on: January 14, 2023, 10:50:51 pm »
MEnu->Tools: first entry is "Options", this opens a dialog.
In the left panel select Debugger (almost at the bottom, you need to scroll).
See: https://wiki.lazarus.freepascal.org/Debugger_Setup

Bart

jamie

  • Hero Member
  • *****
  • Posts: 6134
Re: New install of laz and fpc problem
« Reply #5 on: January 14, 2023, 10:56:02 pm »
Bart, you are most likely older than I however, you are much faster than I!  :o
The only true wisdom is knowing you know nothing

JLWest

  • Hero Member
  • *****
  • Posts: 1293
Re: New install of laz and fpc problem
« Reply #6 on: January 14, 2023, 11:11:50 pm »
Her are two forms under options.

They are a little bit out of date 2011 so it's hard to tell if I'm setup correctly. Have to assume it is.
« Last Edit: January 14, 2023, 11:13:39 pm by JLWest »
FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

JLWest

  • Hero Member
  • *****
  • Posts: 1293
Re: New install of laz and fpc problem
« Reply #7 on: January 14, 2023, 11:28:48 pm »
ok If I go to another project the debugger is working. It just in this one project it isn't.
The project options are setup the same.

Don't understand this. Maybe start a new project and see if it works in the new project.
FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

dbannon

  • Hero Member
  • *****
  • Posts: 2798
    • tomboy-ng, a rewrite of the classic Tomboy
Re: New install of laz and fpc problem
« Reply #8 on: January 15, 2023, 12:00:42 am »
Maybe you are using a mode for that project that does not involve the debugger ?

Project->Options->Debugging

Will show you the debugger settings for this project and this mode. Normally, you would turn all the debugging things off for a release mode.  To use the debugger, as a bare minimum, you would have "generate info for debugger..." and, iMHO, Heaptrc ticked.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

JLWest

  • Hero Member
  • *****
  • Posts: 1293
Re: New install of laz and fpc problem
« Reply #9 on: January 15, 2023, 12:31:43 am »
Thanks All.

I couldn't get it to work so I copied out the pas file, deleted the project and started an new project. The debugger worked in the new project.
FPC 3.2.0, Lazarus IDE v2.0.4
 Windows 10 Pro 32-GB
 Intel i7 770K CPU 4.2GHz 32702MB Ram
GeForce GTX 1080 Graphics - 8 Gig
4.1 TB

jamie

  • Hero Member
  • *****
  • Posts: 6134
Re: New install of laz and fpc problem(Closed)
« Reply #10 on: January 15, 2023, 04:17:34 pm »
That's it, open a new can of paint and just throw it all on the wall, you can't go wrong there!  :D
The only true wisdom is knowing you know nothing

dsiders

  • Hero Member
  • *****
  • Posts: 1080
Re: New install of laz and fpc problem(Closed)
« Reply #11 on: January 15, 2023, 06:12:22 pm »
That's it, open a new can of paint and just throw it all on the wall, you can't go wrong there!  :D

It worked for Jackson Pollack... :)
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

 

TinyPortal © 2005-2018