hi,
i have Problem with Debugger on Tab "Variables" ... it crash often.
to be more exact : ONKEYPRESS make Problem with GRID
when have many Variables i have to wait until it is "stable", else when move Mouse it crash.
---
does GRID use LVS_OWNERDATA / LVN_GETDISPINFO
i had that Problem with my own native Control.
it was the LVN_KEYDOWN Event where "quick" Keystoke crash.
---
i saw c:\hmg.3.4.4\SOURCE\Debugger\
will this Source include when re-build HMG LIB
---
Question : how to debug Thread
Debugger
Moderator: Rathinagiri
- AUGE_OHR
- Posts: 2060
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: Debugger
hi,
have modify c:\hmg.3.4.4\SOURCE\Debugger\DBGHB.PRG
i have disable INLINE and wrote a "normal" Method with Errorblock
now it seems me more stable
p.s. run c:\hmg.3.4.4\BuildLib32.bat to rebuild HMG LIB
---
to "open" a Member VAR Window i have to use K_RETURN
Question : how to use Double-Click on Grid Item
have modify c:\hmg.3.4.4\SOURCE\Debugger\DBGHB.PRG
Code: Select all
CLASS HMGDebugger
METHOD GetNextValidStopLineEx( cFileName, nLine )
METHOD GUIDoEvents() // here New
VAR bGUIDoEvents INIT {|| NIL } // this code block is initiali
* METHOD GUIDoEvents() INLINE EVAL( ::bGUIDoEvents ) // do crash often when using many Events
Code: Select all
METHOD GUIDoEvents() CLASS HMGDebugger
LOCAL bOldError
bOldError := Errorblock( {||Break()} )
BEGIN SEQUENCE
EVAL( ::bGUIDoEvents ) // here safe
END SEQUENCE
Errorblock( bOldError )
RETURN Self
p.s. run c:\hmg.3.4.4\BuildLib32.bat to rebuild HMG LIB
---
to "open" a Member VAR Window i have to use K_RETURN
Question : how to use Double-Click on Grid Item
have fun
Jimmy
Jimmy
- AUGE_OHR
- Posts: 2060
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: Debugger
hi,
i have found "ON DBLCLICK" in c:\hmg.3.4.4\INCLUDE\i_grid.ch
so i have modify 2 Procedure in DBGGUI.PRG
now a DblClick work same as VK_RETURN
have fun
i have found "ON DBLCLICK" in c:\hmg.3.4.4\INCLUDE\i_grid.ch
so i have modify 2 Procedure in DBGGUI.PRG
Code: Select all
PROCEDURE ProcInitGUIDebugger( lCreate )
@ 0,0 BUTTON Button_Refresh CAPTION "Refresh" PI
@ 0,0 GRID &cGrid_SourceCode;
ON DBLCLICK OnKeyPress( VK_RETURN );
@ 0,0 GRID Grid_CallStack;
ON DBLCLICK OnKeyPress( VK_RETURN );
@ 0,0 GRID Grid_Watch;
ON DBLCLICK OnKeyPress( VK_RETURN );
@ 0,0 GRID Grid_Calc;
ON DBLCLICK OnKeyPress( VK_RETURN );
@ 0,0 GRID Grid_Vars;
ON DBLCLICK OnKeyPress( VK_RETURN );
@ 0,0 GRID Grid_Areas;
ON DBLCLICK OnKeyPress( VK_RETURN );
@ 0,0 GRID Grid_Rec;
ON DBLCLICK OnKeyPress( VK_RETURN );
PROCEDURE DisplayVars ( cVarName, xVarValue, aColor )
@ nHEIGHT() , nWIDTH() GRID &cGridName;
ON DBLCLICK OnKeyPress_DisplayVars( VK_RETURN, cFormName, cGridName, xVarValue, aObjRawValue, aColor ) ;
have fun
have fun
Jimmy
Jimmy
- AUGE_OHR
- Posts: 2060
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: Debugger
hi,
have work with it and it seems stable so i can upload it
! Note : make a Backup FIRST !
copy both files to c:\hmg.3.4.4\SOURCE\Debugger\
rebuild HMG Lib with c:\hmg.3.4.4\BuildLib32.bat
have fun
have work with it and it seems stable so i can upload it
! Note : make a Backup FIRST !
copy both files to c:\hmg.3.4.4\SOURCE\Debugger\
rebuild HMG Lib with c:\hmg.3.4.4\BuildLib32.bat
have fun
have fun
Jimmy
Jimmy