Mint 19.3 64bit and GDB lazarus / 32-Linux ---------------------------------------------------------------------- Borneq · 2019-12-20 03:16 Previously I have been using Lazarus with Windows 8. Now I try MInt 19.3, but when i set breakpoint I see: "there is no debugeer specified" but I specify debugger as /usr/bin/gdb and exists in this location ---------------------------------------------------------------------- ccrause · 2019-12-20 05:31 I've always (well, for several years) run Lazarus on Mint and it is enough to just specify gdb without a path.  To test this open a console (command prompt), type gdb followed by enter.  Gdb should run and output some information to the console. Type q to quit.  If this works then there is a problem with your Lazarus configuration. Some random questions to try and understand your setup: Which Lazarus version are you using? Do you see a Debugger entry under Project Options, and if so what is the setting? Open Tools -> Options -> expand Debugger.  Describe the settings (debugger type and path). ---------------------------------------------------------------------- dogriz · 2019-12-20 07:33 Check to see if you have gdb installed. Run terminal and execute this: Code: [Select]dpkg -l | grep gdbYou should see something like ii  gdb                                        8.1-0ubuntu3.2                                amd64        GNU Debugger And also: Code: [Select]whereis gdbgdb: /usr/bin/gdb gives you path to gdb executable If you don't have it installed, just do so with: Code: [Select]sudo apt install gdb ---------------------------------------------------------------------- Borneq · 2019-12-20 13:19 $ whereis gdb gdb: /usr/bin/gdb /etc/gdb /usr/share/gdb /usr/share/man/man1/gdb.1.gz Lazarus version: 1.8.2+dfsg-3 2018-03-04, FPC 3.0.4 Always is opened configuration window at start Lazarus and GDB is ok. Tool->Options : access violation error dialog, ---------------------------------------------------------------------- Martin_fr · 2019-12-20 13:31 Afaik, if there was something wrong with your gdb, the error may be different.... https://wiki.lazarus.freepascal.org/Debugger_Setup#Configure_the_IDE Is the drop down on top set to "gnu debugger (gdb)"? The full path to gdb is in the untitled edit field right below? --- And also check that /usr/bin/gdb is not some script, that calls gdb from some other location. (a script would be only a few kilobyte) ---------------------------------------------------------------------- Borneq · 2019-12-20 14:10 Installing Lazarus SDK not helps. In Mint 19.3 (I have Linux under VirtualBox) is error when I try go to Lazarus options, but in Mint 19.2 I can go to options, but is panic error when I build. In Mint 19.3 I can build. ---------------------------------------------------------------------- Martin_fr · 2019-12-20 14:22 If the IDE itself crashes (option/build dialog), then you should try 2.0.6 (you mentioned that you use 1.8.2). I haven't tested under Mint.... ---------------------------------------------------------------------- Borneq · 2019-12-20 14:29 How install version other than  1.8.2? This version is installed by Software Manager and apt-get ---------------------------------------------------------------------- Martin_fr · 2019-12-20 14:35 Quote from: Borneq on December 20, 2019, 03:29:08 pmHow install version other than  1.8.2? This version is installed by Software Manager and apt-get apt-get and the software-repository are third party providers of Lazarus (I.e. the maintainers of mint, choose what they put in there). They often lag behind. We provide rpm and dep files: https://sourceforge.net/projects/lazarus/files/ From what I hear (I myself download sources from svn) They are generic to all distros. Apparently with some distros, sometimes a dependency may not be recognized. But you should have them installed by now, since you had 1.8.2 installed. If there are version mismatches for fpc or lazarus, then uninstall the ones you currently have (keep other dependencies, if there is an option). Then install the 3 files (fpc(-laz), fpc-source, lazarus) ---------------------------------------------------------------------- Borneq · 2019-12-20 14:53 $ gdebi lazarus-project_2.0.6-0_amd64.deb Reading package lists... Done Building dependency tree        Reading state information... Done Reading state information... Done This package is uninstallable Dependency is not satisfiable: fpc-laz (= 3.0.4) and $ fpc Free Pascal Compiler version 3.0.4+dfsg-18ubuntu2 [2018/08/29] for x86_64 Copyright (c) 1993-2017 by Florian Klaempfl and others =========== OK, I try again. ---------------------------------------------------------------------- Martin_fr · 2019-12-20 15:14 Quote from: Borneq on December 20, 2019, 03:53:24 pmDependency is not satisfiable: fpc-laz (= 3.0.4) Free Pascal Compiler version 3.0.4+dfsg-18ubuntu2 [2018/08/29] for x86_64 fpc-laz is the one from our sourceforge. Uninstall the one you have, and install both the fpc files from our sourceforge. Unfortunately they can not mix with the packages from the distro- repros. Not even if they have the same version. ---------------------------------------------------------------------- Borneq · 2019-12-20 15:47 Great, this works! I installed 3 files .deb from this Sourceforge directory.