[SOLVED / IGNORE] Debugger problem lazarus / 12-Debugger ---------------------------------------------------------------------- pcurtis · 2021-12-18 09:11 Why won't the simple attached project debug? ---------------------------------------------------------------------- WooBean · 2021-12-18 09:55 At least for Lazarus 2.0.8/ FPC 3.0.4/ win 64/ integrated debugger/ optimization -O1 there is no debug issues. All seems to be OK. WooBean ---------------------------------------------------------------------- pcurtis · 2021-12-18 10:04 Does the program stop on the line  ReturnFactor := OriginalHeight / Height;, line 67 myform.pas? ---------------------------------------------------------------------- dseligo · 2021-12-18 10:06 Quote from: pcurtis on December 18, 2021, 11:04:42 amDoes the program stop on the line  ReturnFactor := OriginalHeight / Height;, line 67 myform.pas? I don't see where you call DoScaleBy method. It can't stop if it is never executed. ---------------------------------------------------------------------- wp · 2021-12-18 10:11 For me, debugging is working (Laz main). Using your project settings; my debugger is set up to be "FpDebug (internal Dwarf debugger)". A comment to this project: You seem to implement your own scaling routines. In this case you should turn off LCLScaling in the project options; otherwise the two scaling methods might be working against each other. ---------------------------------------------------------------------- WooBean · 2021-12-18 10:11 Zipped project does not have any myform.pas module, only unit1.pas exists! Unit1 does not have such line: 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 ReturnFactor := OriginalHeight / Height; ---------------------------------------------------------------------- dseligo · 2021-12-18 10:13 Quote from: WooBean on December 18, 2021, 11:11:45 amZipped project does not have any myform.pas module, only unit1.pas exists! File myform.pas is in zipped project, but he didn't put it in Project Inspector. ---------------------------------------------------------------------- pcurtis · 2021-12-18 10:15 Sorry to all. My brain is malfunctioning.