Debug and Logging DVMAX Client

The following article explains how to log every internal action that DVMAX Client takes. This is not recorded as a user action, but rather each 'method' call DVMAX client is making due to the actions taken by the user at the machine.

This logging can help identify causes for unexpected behavior in the program.

Note: The Debug 'log' will only be active for the session that is started. Therefore, everytime DVMAX Client re-launches the debug log must be started again to continue logging.

Step 1: Start the Debug Log


In DVMAX Client, go to the Section menu, hold down SHIFT, and click System Constants.
When the warning appears, click I Understand.
Click the Functions tab.
Click the Execute Method button near the top right.
Type db_setDebugOn and click OK.
Close the Functions tab by clicking the red X.

Use DVMAX Client normally until the issue in question occurs. When the issue appears, proceed with Step 2 below.


Step 2: Retrieve Debug Log results


If the issue does not cause a crash, immediately stop using DVMAX and locate the debug file, or call DVMAX Support for retrieving it.

On Macintosh it is in: Users/Home/Library/Caches/4D/DVMAX.4DC.../Logs
On Windows XP it is in: C:/Documents and Settings/User/Application Support/4D/DVMAX.4DC.../Logs/
On Windows Vista/7 it is in: C:/Users/User/AppData/Local/4D/DVMAX.4DC.../Logs/

Locate any and all files labeled 4DDebugLog_.txt and save these files for processing by DVMAX Support.