Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Losing Debuginfo without lineno in errors
Message
From
01/02/2001 22:23:17
 
 
To
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Losing Debuginfo without lineno in errors
Miscellaneous
Thread ID:
00471591
Message ID:
00471591
Views:
56
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
Next
Reply
Map
View

Click here to load this message in the networking platform