Forum > Debugger

[SOLVED / IGNORE] Debugger problem

(1/2) > >>

pcurtis:
Why won't the simple attached project debug?

WooBean:
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:
Does the program stop on the line  ReturnFactor := OriginalHeight / Height;, line 67 myform.pas?

dseligo:

--- Quote from: pcurtis on December 18, 2021, 11:04:42 am ---Does the program stop on the line  ReturnFactor := OriginalHeight / Height;, line 67 myform.pas?

--- End quote ---

I don't see where you call DoScaleBy method. It can't stop if it is never executed.

wp:
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.

Navigation

[0] Message Index

[#] Next page

Go to full version