1

Resolved

crash when monitoring a process that doesn't exist

description

Hello,
 
The program crashes if launched with a counter on a process that doesn't exist.
Or if a counter disappears
 
QPerfMon.exe ".\Process\%% Processor Time\SomeProgramNotCurrentlyRunning"
 
or
 
QPerfMon.exe ".\Process\%% Processor Time\SomeProgramCurrentlyRunning"
-> close the monitored program
-> crash
 
It would be better to display the counters that are actually available and add a comment like "not available" on the counter.
Or just unchecking the line into the list view, so it could be enabled later.
Anything but a crash :)

comments

RudolfHenning wrote Mar 26, 2010 at 12:48 PM

Noted. Will look into this.

RudolfHenning wrote Mar 30, 2010 at 7:24 AM

Fixed issue. For now the exception is ignored and a zero value is inserted plus the line is unchecked.