Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4975 Discussions

Analysing a service

derek_santibanez
Beginner
1,052 Views
Hi all,

I have a likely memory corruption in my project and am considering running a trial of Inspector.

The problem is on Win7, in a native X64 app that is a service running as a LocalService.

How do I make my service get run automatically by with Inspector? (I'm expecting some 'imagefileexecutionoptions' style answer...)

Derek


0 Kudos
4 Replies
Rob5
New Contributor II
1,052 Views

Derek,

Intel Inspector XE is designed to monitor and analyze an application from start to finish. The following Forum posts I believe provide additional information about your inquiry.

http://software.intel.com/en-us/forums/showthread.php?t=82247
http://software.intel.com/en-us/forums/showthread.php?t=80617

Let us know if this does not answer your question or if you need additional information.

Thanks
Rob

0 Kudos
derek_santibanez
Beginner
1,052 Views
Hi, thanks for the reply Rob.

I understand IXE is designed to monitor & analyze from start to finish (or per module with Update 5).

What I am asking is whether users of IXE have had success with monitoring/analyzing windows services (start to finish).

I'm guessing it is as simple as putting the correct IXE cmdline in:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\foosvc.exe -> Debugger[REG_SZ] = [IXE cmdline for analyzing foosvc]

I'm just checking if people have done this, or something similar, and can report success / failure.

Thanks

0 Kudos
Not applicable
1,052 Views
 
0 Kudos
Holly_W_Intel
Employee
1,052 Views
There is an article on how to use Inspector with a Windows* service at http://software.intel.com/en-us/articles/using-intel-inspector-xe-2011-on-a-microsoft-windows-service/ hopefully this will give you all the information you need. thanks
0 Kudos
Reply