Information générale
Titre:
Debug_logme.prg (helps find code)
Versions des environnements
Network:
Windows 2008 Server
The attached file is a program I use called debug_logme.prg. It helps me quickly track down where in some foreign program something is happening.
For example, if I need to know, "Where in this application is the record being added to table X?" I go in to table X and add an insert trigger which is "debug_logme('Tracking down insert record')" and then I go into the application and add a record. If I need to know, "Where is a particular column being updated?" then I add it to the column trigger and go into the application and do the operation which updates the column. Afterward I can examine the debug_logme.dbf table it creates, and it shows me the complete stack so I know where everything came from.
I have found this kind of helper to be a great time saver in tracking down code issues. You can insert it anywhere, but I mostly use it on table or field triggers to find out where a particular table or column is being affected.
Please report any bugs if you like. Thank you.
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement