DEBUG en FW

Re: DEBUG en FW

Postby marca » Thu Apr 29, 2010 10:19 pm

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
marca
 
Posts: 117
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: DEBUG en FW

Postby Antonio Linares » Fri Apr 30, 2010 12:58 am

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: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: DEBUG en FW

Postby Antonio Linares » Fri Apr 30, 2010 1:02 am

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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: DEBUG en FW

Postby marca » Fri Apr 30, 2010 1:45 pm

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
marca
 
Posts: 117
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: DEBUG en FW

Postby Carles » Sat May 01, 2010 7:40 pm

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..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1137
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: DEBUG en FW

Postby gdeteran » Tue May 04, 2010 6:37 pm

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 22.12 - Harbour 3.2.0dev (r2008190002) - Borland/Embarcadero C++ 7.0(32-bit)
User avatar
gdeteran
 
Posts: 115
Joined: Fri Oct 14, 2005 7:10 pm
Location: Puerto Montt - CHILE

Re: DEBUG en FW

Postby cmarucco » Tue May 04, 2010 8:24 pm

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
User avatar
cmarucco
 
Posts: 46
Joined: Tue Oct 11, 2005 2:23 pm
Location: argentina

Re: DEBUG en FW

Postby marca » Wed May 05, 2010 5:58 pm

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: 117
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: DEBUG en FW

Postby marca » Thu May 06, 2010 6:28 pm

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
marca
 
Posts: 117
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: DEBUG en FW

Postby Carles » Fri May 07, 2010 8:24 pm

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..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1137
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: DEBUG en FW

Postby marca » Mon May 10, 2010 1:06 pm

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: 117
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: DEBUG en FW

Postby marca » Tue May 11, 2010 7:01 pm

Ninguem ?
Marcelo Ferro da Silveira
Fwh14.04/xHarbour 1.2.3 Simplex / Bcc582 / Pelles 8
SqlLib /xMate/WS
marca
 
Posts: 117
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: DEBUG en FW

Postby Carles » Tue May 11, 2010 8:36 pm

Marca,

Puedes enviar un ejemplo autocontenido ?

Gracias.
Salutacions, saludos, regards

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

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1137
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

Re: DEBUG en FW

Postby marca » Tue May 11, 2010 9:26 pm

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
marca
 
Posts: 117
Joined: Mon Aug 13, 2007 5:22 pm
Location: Brazil

Re: DEBUG en FW

Postby Carles » Wed May 12, 2010 6:38 am

Marcelo,

Modifica fwdbg.prg y añade...
Code: Select all  Expand view
*------------------------------------------------------------------------
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..."

UT Page -> https://carles9000.github.io/
Forum UT -> https://discord.gg/bq8a9yGMWh
Skype -> https://join.skype.com/cnzQg3Kr1dnk
User avatar
Carles
 
Posts: 1137
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona

PreviousNext

Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 53 guests