In 32bit debugger no issue. In 64bit, when trying to set a write break (in this case a string member of a derived type), I am getting the following error The maximum sizee of object that can be covered by a hardware breakpoint is 32-bytes. Seems to be fine for numerical members of the derived type.
Maximum size of object covered by hardware breakpoint
Please show the declaration(s) of the derived type(s).
The error is correct in that the maximum size is 32-bytes -- and the real value is less as sdbg64 uses some of these for things like step-out.
Does it work in 32-bit mode -- i.e. does it break when required?
!ftn95$free
MODULE TYPES
TYPE MITM
SEQUENCE
CHARACTER*260 :: NAME
END TYPE MITM
CONTAINS
SUBROUTINE MI_Init (MI)
TYPE (MITM), POINTER :: MI
MI%NAME = ' ' !set a write break on variable breakpoint here
END SUBROUTINE
END MODULE TYPES
program testmit
USE TYPES
TYPE (MITM), POINTER :: MIT=>Null()
ALLOCATE (MIT, stat=IST); call mi_init(MIT)
end program
Has anyone confirmed the issue with the above code sample? Thanks
I can cofirm the behaviour mentioned by StamK for ftn95 version 8.63.0 and sdbg64 version 8.62a
Regards Dietmar
There is a new sdbg64 available that fixes this issue.
-- Admin Silverfrost Limited
I can confirm this is now fixed, thanks