Command Line

Top  Previous  Next

You may wish to use GuiProf command line for many reasons. If you test manually, you can create a shortcut to start your program under GuiProf profiler. If you test with automated tools, you can also set up the tools to start your application with GuiProf.

GuiProf has the following command line syntax:

GuiProf [-profile] [-help] fileName

fileName

executable assembly or project file. Enclose it in quotes "" if it contains spaces.

-profile (-p)

start profiling in the background. If fileName specifies an executable, GuiProf creates coverage log in your personal folder, e.g.

C:\...\My Documents\GuiProf\fileName\logs

If you want to set the path to logs, application working folder and command line, create a GuiProf project first and specify it in fileName.

-help (-?)

show command line help and exit

Examples

Start an application under profiler (GuiProf will profile in the background):

GuiProf -profile "C:\Program Files\GuiProf\DemoApplication\DemoApplication.exe"

Start GuiProf to background-profile an application specified in a project:

GuiProf -profile C:\MyProjects\MyApp.gpproj

See Also

Profiling