[CLOSED] Debuggin Linux Mint GTK2 - how to make it work ? lazarus / 12-Debugger ---------------------------------------------------------------------- BrunoK · 2019-02-23 12:40 I finally, and very painfully, managed to install lazarus trunk in the linux darkside of my PC. Now I want to trace/debug things that work pretty well in windows to see how they behave under linux. Where can I find a usable linux executable of GDB ? (otherwise it is useless to try to use linux) Thanks. ---------------------------------------------------------------------- Thaddy · 2019-02-23 12:52 gdb is in the Linux mint repository if it isn't already installed. It comes with the GNU compiler suite and usually that is installed. ---------------------------------------------------------------------- lucamar · 2019-02-23 13:34 If for some strange reason it's not installed, just go to your package manager (synaptic?) and install the gdb package. Or, in a terminal window, do:Code: Bash  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i sudo apt-get install gdbThat should do the trick. Then select the debugger in Lazarus by going to "Tools->Options->Debugger" (see attached image) ---------------------------------------------------------------------- BrunoK · 2019-02-23 14:19 Thanks for your help. Lazarus Trunk did not like the version of GDB it had been supplied and was correctly indicated in the options. Every few years I try to get a functional linux installation but never managed to have some stable system. (whereas, for example, my old XP did work >10 years without need of a reinstall). Always something missing or cryptic to install, and searching info resumes to comments that obviously linux is not designed for normal programmers (what about lambda users). Seems to be reserved to masochistic geeks. Between my initial post half an hour ago and now, the installation partition that I had much pain in setting up has gone dead after a reboot (and had been stable for a week). [CLOSED] For the next few years ... ---------------------------------------------------------------------- lucamar · 2019-02-23 15:43 Well, I am a normal programmer and I've been using Linux for the last ... hmmm ... let me see ... 20 years more or less. I have had problems, of course (who doesn't!) but not more than with Windows. And most of them came about because something I did that disagreed with the system's digestion. Linux is not as easy (yet?) as Windows at user-level but neither it's now the monster it was in olden times, when you had to install almost anything from sources and by hand. YMMV, of course!