DEBUG en FW

marca
Posts: 104
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil
Contact:

Re: DEBUG en FW

Post by marca »

Julio,
Mesmo com ela apos as libs do five continua com o mesmo problema

C:\Language\FWH\LIB\FiveHX.LIB=209,.T.,0,0,
C:\Language\FWH\LIB\FIVEHC.LIB=210,.T.,0,0,
%HB_LIB_INSTALL%\debug.lib=211,.T.,0,0,
%HB_LIB_INSTALL%\rtl.lib=212,.T.,0,0,
%HB_LIB_INSTALL%\vm.lib=213,.T.,0,0,
%HB_LIB_INSTALL%\gtgui.lib=214,.T.,0,0,
%HB_LIB_INSTALL%\lang.lib=215,.T.,0,0,
%HB_LIB_INSTALL%\macro.lib=216,.T.,0,0,
%HB_LIB_INSTALL%\rdd.lib=217,.T.,0,0,
%HB_LIB_INSTALL%\Dbfntx.lib=218,.T.,0,0,
%HB_LIB_INSTALL%\dbfcdx.lib=219,.T.,0,0,
%HB_LIB_INSTALL%\dbffpt.lib=220,.T.,0,0,
%HB_LIB_INSTALL%\hbsix.lib=221,.T.,0,0,
%HB_LIB_INSTALL%\common.lib=222,.T.,0,0,
%HB_LIB_INSTALL%\pp.lib=223,.T.,0,0,
%HB_LIB_INSTALL%\pcrepos.lib=224,.T.,0,0,
%HB_LIB_INSTALL%\HBCOMM.LIB=225,.T.,0,0,
%HB_LIB_INSTALL%\hbzip.lib=226,.T.,0,0,
%HB_LIB_INSTALL%\zlib.lib=227,.T.,0,0,
%C_LIB_INSTALL%\C0W32.OBJ=228,.T.,0,0,
%C_LIB_INSTALL%\CW32.LIB=229,.T.,0,0,
%C_LIB_INSTALL%\import32.lib=230,.T.,0,0,
%C_LIB_INSTALL%\PSDK\ODBC32.LIB=231,.T.,0,0,
%C_LIB_INSTALL%\PSDK\RASAPI32.LIB=232,.T.,0,0,
%C_LIB_INSTALL%\PSDK\NDDEAPI.LIB=233,.T.,0,0,
%C_LIB_INSTALL%\PSDK\MSIMG32.LIB=234,.T.,0,0,
%C_LIB_INSTALL%\PSDK\IPHLPAPI.LIB=235,.T.,0,0,
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: DEBUG en FW

Post by Antonio Linares »

Marcelo,

Tienes que añadir estas funciones en tu PRG:

function __DBGSETENTRY( x, y, z )

return HB_DBG_SETENTRY( x, y, z )

igual para las demas
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: DEBUG en FW

Post by Antonio Linares »

function __dbgSetEntry() ; return HB_Dbg_SetEntry()
function __dbgSetGo(x) ; return HB_Dbg_SetGo(x)
function __dbgSetQuit(x) ; return HB_Dbg_SetQuit(x)
function __dbgGetSourceFiles(x) ; return HB_Dbg_GetSourceFiles(x)
function __dbgvmVarGGet(x,y) ; return HB_Dbg_vmVarGGet(x,y)
function __dbgvmVarGSet(x,y,z) ; return HB_Dbg_vmVarGSet(x,y,z)
function __dbgvmVarLGet(x,y) ; return HB_Dbg_vmVarLGet(x,y)
function __dbgvmVarLSet(x,y,z) ; return HB_Dbg_vmVarLSet(x,y,z)
function __dbgprocLevel() ; return HB_Dbg_ProcLevel()
function __dbgvmVarSGet(x,y) ; return HB_Dbg_vmVarSGet(x,y)
function __dbgvmVarSSet(x,y,z) ; return HB_Dbg_vmVarSSet(x,y,z)
regards, saludos

Antonio Linares
www.fivetechsoft.com
marca
Posts: 104
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil
Contact:

Re: DEBUG en FW

Post by marca »

Ogrigado Antonio

Mais uma duvida
Eu uso o xMate e as pastas dos meus fontes fica em outro local digo
c:\sistema\sistema.exe
c:\sistema\fontes\fontes.prg


onde configuro o path dos fontes ?
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
User avatar
Carles
Posts: 937
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: DEBUG en FW

Post by Carles »

Marca,

Prueba menu->debugger->folder sources para seleccionar otra 'pasta' si el debugger no encuentra el fuente...

multo obrigado :-)
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
User avatar
gdeteran
Posts: 110
Joined: Fri Oct 14, 2005 7:10 pm
Location: Puerto Montt - CHILE

Re: DEBUG en FW

Post by gdeteran »

Me funciona perfecto el debugger hasta que, acceso un Dialogo creado desde recursos, me da este error :
Error description: Error FiveWin/3 Cannot create Dialog Box: Resource: Clave
Me faltará incluir algo en el codigo?
Saludos,
Gonzalo
Puerto Montt - CHILE
FWH 21.01 - Harbour 3.2.0dev (r2008190002) - Borland/Embarcadero C++ 7.0(32-bit)
User avatar
cmarucco
Posts: 46
Joined: Tue Oct 11, 2005 2:23 pm
Location: argentina

Re: DEBUG en FW

Post by cmarucco »

Hola Foro !!! He bajado el FWDBG que publico carles, creado la .LIB pero al momento de ejecutar la aplicacion, nada que aparezca el DEBUG, esta es la lista de .LIB que uso con xMate
C:\a\Obj\TEST.Obj +
C:\a\Obj\TEST3.Obj +
C:\a\Obj\TEST2.Obj +
C:\a\Obj\TEST5.Obj +
C:\a\Obj\TEST4.Obj +
C:\BCC55\Lib\C0W32.OBJ, +
C:\a\prueba.Exe, +
, +
C:\xHarbour\Lib\debug.lib +
C:\FWH\lib\Fivehx.lib +
C:\Fwh\LIB\Fivehc.lib +
C:\xHarbour\Lib\rtl.lib +
C:\xHarbour\Lib\vm.lib +
C:\xHarbour\Lib\lang.lib +
C:\xHarbour\Lib\macro.lib +
C:\xHarbour\Lib\rdd.lib +
C:\xHarbour\Lib\dbfntx.lib +
C:\xHarbour\Lib\dbfcdx.lib +
C:\xHarbour\Lib\dbffpt.lib +
C:\xHarbour\Lib\hbsix.lib +
C:\xHarbour\Lib\common.lib +
C:\xHarbour\Lib\gtwin.lib +
C:\xHarbour\Lib\pp.lib +
C:\BCC55\Lib\CW32.LIB +
C:\xHarbour\Lib\codepage.lib +
C:\BCC55\Lib\WS2_32.LIB +
C:\BCC55\Lib\IMPORT32.LIB +
C:\BCC55\Lib\PSDK\msimg32.lib +
C:\xHarbour\Lib\pcrepos.lib +
C:\libeagle1\Eagle1.lib +
C:\libeagle1\MySQL.lib +
C:\css\Librerias\lib\varios.lib +
C:\FWH\lib\FileXLS.lib +
C:\FWH\lib\FwDbg.LIB

Alguin me podria orientar de que esta erroneo... ??
Desde ya mucha gracias
Carlos Gustavo Marucco
Rio Gallegos - Santa Cruz
PATAGONIA ARGENTINA
FWH 10.08 - Eagle1 Ver 6.0 - xHarbour 1.2.1 Rev 6717
xMate Ver 1.15 - Workshop Ver 4.5 - Windows 7
marca
Posts: 104
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil
Contact:

Re: DEBUG en FW

Post by marca »

Carles wrote:Marca,

Prueba menu->debugger->folder sources para seleccionar otra 'pasta' si el debugger no encuentra el fuente...

multo obrigado :-)
Ola Charles
irei testar!!!
obrigado
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
marca
Posts: 104
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil
Contact:

Re: DEBUG en FW

Post by marca »

Carles wrote:Marca,

Prueba menu->debugger->folder sources para seleccionar otra 'pasta' si el debugger no encuentra el fuente...

multo obrigado :-)


Ola Carles boa tarde

Fiz oq. vc pediu e esta dando erro na criação de minha dialogs como mostra a baixo

Application
===========
Path and name: C:\Sven\SVEN.Exe (32 bits)
Size: 7,918,592 bytes
Time from start: 0 hours 0 mins 55 secs
Error occurred at: 06/05/2010, 15:26:09
Error description: Error FiveWin/3 Cannot create Dialog Box:
Resource: SV_VENDA


E tbem na hora de compilar da este erro nesta linha

BEGIN SEQUENCE WITH { | objErr | Break( objErr ) }

DebubMeu\DBGTRACE.PRG(124) Error E0030 Syntax error: "syntax error at 'WITH'"
DebubMeu\DBGTRACE.PRG(129) Error E0030 Syntax error: "syntax error at 'USING'"
DebubMeu\DBGTRACE.PRG(141) Error E0030 Syntax error: "syntax error at 'END'"
DebubMeu\DBGTRACE.PRG(143) Error E0025 Invalid RETURN from within of SEQUENCE code



Sabe como posso resolver isso ?
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
User avatar
Carles
Posts: 937
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: DEBUG en FW

Post by Carles »

Hola

Estas en xH ?

Prueba poner -> BEGIN SEQUENCE // WITH { | objErr | Break( objErr ) }

Saludos
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
marca
Posts: 104
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil
Contact:

Re: DEBUG en FW

Post by marca »

Carles wrote:Hola

Estas en xH ?

Prueba poner -> BEGIN SEQUENCE // WITH { | objErr | Break( objErr ) }

Saludos
Ok
Este resolveu sendo que agora tem outro problema como o amigo acima mostrou
Error occurred at: 06/05/2010, 15:26:09
Error description: Error FiveWin/3 Cannot create Dialog Box: Resource: SV_VENDA
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
marca
Posts: 104
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil
Contact:

Re: DEBUG en FW

Post by marca »

Ninguem ?
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
User avatar
Carles
Posts: 937
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: DEBUG en FW

Post by Carles »

Marca,

Puedes enviar un ejemplo autocontenido ?

Gracias.
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
marca
Posts: 104
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil
Contact:

Re: DEBUG en FW

Post by marca »

Carles wrote:Marca,

Puedes enviar un ejemplo autocontenido ?

Gracias.
Ola amigo
da erro Error description: Error FiveWin/3 Cannot create Dialog Box: Resource: SV_VENDA
na criação das telas
uso arquivos.res onde ficam minhas telas

observe q. o amigo gdeteran
Tem o mesmo problema
gdeteran wrote:Me funciona perfecto el debugger hasta que, acceso un Dialogo creado desde recursos, me da este error :
Error description: Error FiveWin/3 Cannot create Dialog Box: Resource: Clave
Me faltará incluir algo en el codigo?
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
User avatar
Carles
Posts: 937
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Re: DEBUG en FW

Post by Carles »

Marcelo,

Modifica fwdbg.prg y añade...

Code: Select all

*------------------------------------------------------------------------
FUNCTION __dbgEntry( nMode, uParam1, uParam2, uParam3, uParam4, uParam5 )
*------------------------------------------------------------------------
   LOCAL hRes := GetResources()     // <-- Esta linea

   DO CASE

       CASE nMode == HB_DBG_GETENTRY

            __dbgSetEntry()

       CASE nMode == HB_DBG_ACTIVATE

            IF oDbg == NIL

               oDbg := TDbg():New()
               oDbg:Activate()

            ENDIF

            oDbg:pInfo      := uParam1
            oDbg:nProcLevel := uParam2
            oDbg:aStack     := uParam3
            oDbg:aModules   := uParam4
            oDbg:Exec()

   ENDCASE

   SetResources( hRes )    // <-- Esta linea


RETU NIL
He probado y parece que funciona...

Ya diras.
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
Post Reply