hi,
when start with HMG i had some Problem with 32 Bit Unicode Debugger so i enhance it to work "for me"
i have document it here
http://hmgforum.com/viewtopic.php?f=12&t=6173&p=59887
---
i normal work under 32 Bit were i had Problem with HMG Debugger.
i also have 64 Bit, using multi-boot, but i don´t use it often.
when working under 64 Bit "Original" Debugger do not crash
so Problem with Array might be only on 32 Bit OS
---
many enhancement like ON DBLCLICK "does not hurt" but some Modification might be wrong (but do not crash anymore)
DBGGUI.PRG
add ON DBLCLICK OnKeyPress( VK_RETURN ); in line 280, 308 , 326, 361, 388, 407, 421
add ON DBLCLICK OnKeyPress_DisplayVars( VK_RETURN, cFormName, cGridName, xVarValue, aObjRawValue, aColor ) ; in line 672
line 1254
Code: Select all
PROCEDURE UpdateGridVars()
aVars := HMG_Debugger():GetVars( @aBVars )
i had Problem with
Code: Select all
nValue := _HMG_FormDebugger.Grid_Vars.VALUE
which sometimes are > LEN(aVars) so it crash
so please revise UpdateGridVars() if i misunderstood concept
---
DBGHB.PRG
modify METHOD GUIDoEvents() by add BEGIN SEQUENCE / END SEQUENCE
Code: Select all
FUNCTION __dbgValToStr( uVal )
CASE cType == "B" ; RETURN hb_valToExp ( uVal ) // "{|| ... }"
modify METHOD GetVars() by add BEGIN SEQUENCE / END SEQUENCE
add aVars := {}
same Problem like in UpdateGridVars() with LEN(Array)
i have change it to "do not crash" but not sure if i´m misunderstood Concept
---
hope it is useful to update HMG