Can't get the Debugger to work lazarus / 12-Debugger ---------------------------------------------------------------------- garymq · 2025-09-02 13:57 Hello I have just started using Lazarus. I'm coming from Xojo. I've written a few small applications to start. Lazarus seems quite good so far. But one thing - I can't get the Debugger to work. Here's what I do: I write a simple program, highlight a variable, click CNTRL+F5, and the variable appears correctly in the Watch window. Enable the Debugger. Run the program - but no matter what I do, the Value of the variable in the watch window ALWAYS remains "" I have tried this with many variables, Integers, strings, floats, etc. Global and Local variables. The value always stays "". What am I doing wrong? Thanks Gary ---------------------------------------------------------------------- af0815 · 2025-09-02 14:05 Use a breakpoint, after the program stops, you can see the value in watch window. It is not possible as the program ist running. ---------------------------------------------------------------------- garymq · 2025-09-02 22:29 OK! Simple really, now that I understand. I had assumed a dynamic debugger, like some others. Thanks very much Andreas! Regards, Gary ---------------------------------------------------------------------- Jeff_t · 2025-09-23 08:39 Hi Gary. Also starting with Lazarus from Xojo. It's promising, but its slow progress so far. I'm finding that the debugger watch window isnt great for objects.. expanding the contents often just shows pointers to stuff, rather than 'the properties' How are you getting on generally? ---------------------------------------------------------------------- Martin_fr · 2025-09-24 17:47 Quote from: Jeff_t on September 23, 2025, 10:39:28 amHi Gary. Also starting with Lazarus from Xojo. It's promising, but its slow progress so far. I'm finding that the debugger watch window isnt great for objects.. expanding the contents often just shows pointers to stuff, rather than 'the properties' How are you getting on generally? What OS/CPU are you using? If supported, check that you are using FpDebug https://wiki.freepascal.org/Debugger_Setup Also "objects" for you refers too which one? Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i type   TFoo = object ... end;  TFoo = class ... end;  TFoo = record ... end; And then also use DWARF-3 And the properties for which you see pointers are declared how? Also in which units are those declared? Problem with answering your issue is, to figure out what may cause it... It could be the compiler not adding the info. Or the debugger, but that depends which one you use.