Why is there no answer for:
What is the type of "TPack" ? record, class, object?
Does the stack window show **ALL** callers?
Adding to that, the unit is compiled with either no optimization or -O1 ?
Please note the LOCAL window, is designed to ONLY show direct locals. Locals of the exact procedure. BUT NOT locals of the caller (even though for nested proc one could debate if they should or should not be there...)
The WATCHES window, should be able to access those "outer locals" => So that is broken in your case.
breaking inside locfexist :
$parentfp=0x7fffffffc4d0
$result=false
LOCFEXIST=false
RESULT=false
Ok, Please open the "register window"
When paused in "locfexist" (do not step/run)
- Make a note of the value $parentfp (e.g. copy to clipboard, and paste into some editor/notepad/...)
- Go to the stack window, and select the parent frame (the caller / "readpackfile"), make this "current" via the context menu (or tool-button).
- The locals window should now show the locals of "readpackfile"
- In the register window find the register "RBP" (change it to be displayed in hex)
Copy the value of RBP (for readpackfile") and compare it with the earlier value of $parentfp (the one from "locfexist").
Are they the same?