Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Losing Debuginfo without lineno in errors
Message
De
01/02/2001 22:23:17
 
 
À
Walter Meester
HoogkarspelPays-Bas
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Losing Debuginfo without lineno in errors
Divers
Thread ID:
00471591
Message ID:
00471591
Vues:
55
Hi,

I refer to your articles on 'Losing Debuginfo without lineno in errors'
as I also want to had the feature to trace my code line giving me the error
without the debug info built into my application.

As mentioned in your article, we just had to replace all methods of the
forms and class library with '*',pack and compile. I tried it and it didn't
work for me. below is my program , please advise what did I do wrong. Thank you


? 'Program in process, please wait...'
ProcessFile('*.scx')
ProcessFile('*.vcx')
? 'Progress completed, please recompile your program again'

RETURN

PROCEDURE ProcessFile(pvFileExt)

LOCAL lNo, lTotalFiles, lFileName

lTotalFiles = ADIR(lTmpArray,pvFileExt)

FOR lNo = 1 TO lTotalFiles

lFileName = ALLT(lTmpArray(lNo,1))
USE (lFileName) IN 0 EXCLUSIVE
SELECT(lFileName)
REPLACE ALL METHODS WITH '*'
FLUSH
PACK
USE IN (lFileName)

ENDFOR

RELEASE lTmpArray

ENDPROC
Best Regards
Virusim
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform