Skip to main content

Running Defraggler in debug mode

If you need to view a detailed log of Defraggler's activities for troubleshooting then you can run the software in debug mode.

When you chose to run Defraggler in debug mode it creates a log file, where information with different priorities will be listed. The number of messages in the list depends on the choice of a  debug mode level. Available levels are as follow:

/debug - generates a log of Defraggler’s operations

/debug2 - generates a log of Defraggler’s operations, prints warnings and non-critical errors

/debug3 - generates a log of Defraggler’s operations, prints warnings, non-critical errors and more information. This mode is usually used as developer’s mode.

To run Defraggler in debug mode:

  1. From the Windows desktop, click Start and then click Run.
  2. In the Run dialog box, type <path to Defraggler> /[debugx] (where x means the number of mode). Typically, this will be:
    "C:\Program Files\Defraggler\Defraggler.exe" /debug
  3. Click OK. Defraggler starts in debug mode. You will see the word [debug] next to the version number at the top of the program window.
  4. Once you have finished using Defraggler as usual and have quit the program, use Windows Explorer to navigate to the installation path (the same path you typed in Step 2). The log file will be in this folder in the format: Defraggler_log[date].txt.

Defraggler also comes with a command-line version, which you can use to get more detailed debugging information. See this topic for more information.