Using GFlag.exe to debug application problems

15/08/2018 Stuart Moore   ID: 334147

What is GFlags?

GFlags (the Global Flags Editor), gflags.exe, enables and disables advanced debugging, diagnostic, and troubleshooting features. It is most often used to turn on indicators that other tools track, count, and log. It is part of WinDbg, the Windows Debugging Tools.

Where to find it?

Once the WinDbg tools are installed, you will find gflags.exe in the following location

C:\Program Files (x86)\Windows Kits\10\Debuggers\x64

C:\Program Files (x86)\Windows Kits\10\Debuggers\x86


To enable advanced debugging of Java.exe and appexe.exe run the following commands to set the flags on each of the exes BEFORE you launch the application. Start the application under AAV using the shortcuts, or run.exe. Once AAV has started, AAV will capture the output and write it to the AAV logs.

Gflag.exe /i java.exe +sls
Gflag.exe /i sasmc.exe +sls
Was this article helpful?

Table of Contents

    Can't find what you're looking for?

    Contact Support