Command line arguments to save session data

Use this forum to discuss subjects that don't belong in the other forums.

Moderator: SciTech Software

Command line arguments to save session data

Postby Anderuso » Mon Jul 11, 2005 9:16 am

What command line argument use to save generated session data into file when running profiler without UI? I try following and it not worked:

Code: Select all
"C:\Program Files\SciTech\NetMemProfiler2\NetMemProfilerConsole.exe" /noui /ri+ /cr+ /mlc+ /sfl c:\temp /sf test.prfsession /as+ /iid+ /p "c:\path to executable\executable.exe" -args


Profiler is started, program is started, when profiled program ends, no data are generated...

Using .NET Memory Profiler v2.5.28.0
Thanx Anderuso
Anderuso
 

Postby Andreas Suurkuusk » Tue Jul 12, 2005 8:45 pm

It seems like the parsing of the /sf and /sfl command line arguments does not work correctly in the current version of the profiler. This is a bug that we will fix as soon as possible (hopefully within one week). In the meantime, you will have to make these settings in the Tools->Settings form.

Note that real-time data is not collected for a non-interactive session, so the /cr+ parameter will be ignored. Also note that no session file will be created unless at least one snapshot has been collected.
Best regards,

Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
 
Posts: 995
Joined: Wed Mar 02, 2005 7:53 pm
Location: Sweden

Postby Andreas Suurkuusk » Mon Jul 18, 2005 7:25 pm

We have now released a minor update, which correctly parses the /sf, /sfl and /sp command line arguments.

Note that if any of /sf and /sfl is provided, then the save session prompting will be disabled, and the session file will be automatically saved. To use the /sf or /sfl arguments as default values only, you will need to supply the option /sp+ as well.

If you provide the /sp- (no save session prompt) option, then the session will be discarded, unless a file or folder is also provided (using /sf or /sfl).

The usage of these arguments is not very intuitive, and we will probably update them in a future release.
Best regards,

Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
 
Posts: 995
Joined: Wed Mar 02, 2005 7:53 pm
Location: Sweden


Return to General

Who is online

Users browsing this forum: No registered users and 3 guests

SciTech Software logo

© Copyright 2001-2016. SciTech Software AB
All rights reserved.


SciTech Software AB
Kartvägen 21
SE-175 46 Järfälla
Sweden


E-mail: mail@scitech.se

Telephone: +46-706868081

cron