Silverfrost Forums

Welcome to our forums

Maximum size of object covered by hardware breakpoint

27 Nov 2020 12:13 #26644

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.

27 Nov 2020 4:26 #26645

Please show the declaration(s) of the derived type(s).

27 Nov 2020 9:03 #26647

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?

27 Nov 2020 10:41 #26648
!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  
3 Dec 2020 9:41 #26691

Has anyone confirmed the issue with the above code sample? Thanks

3 Dec 2020 2:58 #26696

I can cofirm the behaviour mentioned by StamK for ftn95 version 8.63.0 and sdbg64 version 8.62a

Regards Dietmar

3 Dec 2020 10:31 #26700

There is a new sdbg64 available that fixes this issue.


-- Admin Silverfrost Limited
3 Dec 2020 11:45 #26702

I can confirm this is now fixed, thanks

Please login to reply.