Values of variables are not displayed lazarus / 12-Debugger ---------------------------------------------------------------------- Flomo · 2023-08-24 19:21 Hi, working with Lazarus IDE 2.2.4, developing for Windows. When letting the program stop at a breakpoint, I can hover the mouse over a variable name or an object property like TEdit.Text. My problem: Instead of the value, the tooltip only shows three question marks. When using the debugging window instead to display the value for TEdit.Text, it shows an error I have searched various forums and wikis but can't find anthing helpful. Any help is greatly appreciated. Florian ---------------------------------------------------------------------- Lulu · 2023-08-24 19:41 Hi, TEdit.Text is a property with getter/setter (a procedure and function to read and write the content), the debugger can't directly access its value. You can use a workaround using an intermediary variable like this: 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 var debugStr: string;...debugStr := Edit1.Text; // put a breakpoint here When your program stops its execution, press F8 and move your mouse over debugStr, the IDE will show you its content. ---------------------------------------------------------------------- Martin_fr · 2023-08-25 05:12 Quote from: Flomo on August 24, 2023, 09:21:37 pm When letting the program stop at a breakpoint, I can hover the mouse over a variable name or an object property like TEdit.Text. My problem: Instead of the value, the tooltip only shows three question marks. When using the debugging window instead to display the value for TEdit.Text, it shows an error Unfortunately an issue with the FPC compiler. Equally, many methods will not work with the "function evaluation" feature of the debugger. The FPC team so far has not reacted to a proposal to resolve this https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/448 And this is a first required step to eventually (maybe) solve the property issue. ---------------------------------------------------------------------- Flomo · 2023-08-25 06:04 Martin and Lulu, thanks for this piece of information. Coming from Delphi, I thought Lazarus would behave similar. Florian