Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Debugging EXE outside development environment
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00896533
Message ID:
00896577
Vues:
12
Jim,

You can use strtofile(,, .t. ) to tack output onto the end of a debugging file. One easy way to deal with looking at it in realtime is to open the .txt file in the browser and then you can just hit the Refresh button to see any new messages that have shown up in the file. I've implemented this with a cDebugStatus property in the class that has an assign method and if the lDebugStatus property is .t. it outputs a timestamp, objname and the value to a file. It makes for a really easy way to debug COM and EXEs outside the VFP environment.

>I have a VFP 8 application that runs on some computers or accounts but not others. I'm looking for a mechanism to inserting debugging comments in my code and capture them from the program running on a computer other than my development computer. This is possible in VC++. I can enter TRACE comments, and capture them using the Public Domain DebugView program. Does anyone know if something similar is possible with VFP?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform