MSTest profiling?

Questions about YourKit .NET Profiler
Post Reply
ehauser
Posts: 3
Joined: Thu Aug 21, 2008 6:33 pm

MSTest profiling?

Post by ehauser »

Hi,

I'm trying to test my MSTest tests from the command line. However, the application never pops up. I checked the ~/.ynp/logs directory and saw this in one of the files:

[YourKit Profiler 3.0.5 for .NET]
OS: Windows NT (unknown) 6.0
CLR: v2.0.50727
'c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\\..\ide\mstest' started 21.8.2008 at 14:25
[ 0.002] getStartupStringOption(YNP_IGNORE_LIST):
[ 0.004] env is NULL
[ 0.004] returning NULL (1)
[ 0.005] Application found on the ignore list. Profiling not enabled.


Is there any way I can profile this? If you run mstest.exe with /noisolation there is no reason I shouldn't be able to profile it. Thanks.
ehauser
Posts: 3
Joined: Thu Aug 21, 2008 6:33 pm

Post by ehauser »

Never mind. I'm stupid. How about the "Edit list of ignored applications" on the main screen.
ehauser
Posts: 3
Joined: Thu Aug 21, 2008 6:33 pm

Post by ehauser »

Ok, back again. It lets me take a memory snapshot, but when I go to open the snapshot file it says it is invalid. Here is the data from the log:


[YourKit Profiler 3.0.5 for .NET]
OS: Windows NT (unknown) 6.0
CLR: v2.0.50727
'c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\\..\ide\mstest' started 21.8.2008 at 14:56
[ 53.192] [ObjectReferences] ExceptionAddress = 7A16172B
[ 53.193] [ObjectReferences] ExceptionCode = -1073741819
[ 53.194] [ObjectReferences] ExceptionFlags = 0
[ 53.195] [ObjectReferences] ExceptionRecord = 00000000
[ 53.196] [ObjectReferences] NumberParameters = 2
[ 53.196] [ObjectReferences] ExceptionInformation[0] = 0

[ 53.197] [ObjectReferences] ExceptionInformation[1] = 185740748

[ 53.202] C [mscorwks.dll+0x2f172b]
[ 53.207] C [mscordbc.dll+0x6ec1]
[ 53.215] C [yjpagent.dll+0x3ee2c]
[ 53.220] C [yjpagent.dll+0x40f22]
[ 53.225] C [yjpagent.dll+0x41305]
[ 53.229] C [yjpagent.dll+0x4155d]
[ 53.234] C [yjpagent.dll+0x41734]
[ 53.239] C [yjpagent.dll+0x36d3]
[ 53.244] C [mscordbc.dll+0x5f05]
[ 53.249] C [mscorwks.dll+0x2ee085]
[ 53.254] C [mscorwks.dll+0x2d2c67]
[ 53.259] C [mscorwks.dll+0x19a120]
[ 53.263] C [mscorwks.dll+0xf7694]
[ 53.268] C [mscorwks.dll+0xf5f68]
[ 53.273] C [mscorwks.dll+0xfdfa1]
[ 53.278] C [mscorwks.dll+0xfdf4b]
[ 53.283] C [mscorwks.dll+0x2edbb7]
[ 53.287] C [yjpagent.dll+0x460b4]
[ 53.293] C [yjpagent.dll+0x46424]
[ 53.298] C [yjpagent.dll+0x4646e]
[ 53.302] C [KERNEL32.dll+0x8e3f3]
[ 53.307] C [ntdll.dll+0x7cfed]
[ 53.309] [ObjectReferences] ExceptionAddress = 7A16172B
[ 53.310] [ObjectReferences] ExceptionCode = -1073741819
[ 53.311] [ObjectReferences] ExceptionFlags = 0
[ 53.312] [ObjectReferences] ExceptionRecord = 00000000
[ 53.312] [ObjectReferences] NumberParameters = 2
[ 53.313] [ObjectReferences] ExceptionInformation[0] = 0

[ 53.314] [ObjectReferences] ExceptionInformation[1] = 189024496

[ 53.319] C [mscorwks.dll+0x2f172b]
[ 53.324] C [mscordbc.dll+0x6ec1]
[ 53.329] C [yjpagent.dll+0x3ee2c]
[ 53.334] C [yjpagent.dll+0x40f22]
[ 53.339] C [yjpagent.dll+0x41305]
[ 53.344] C [yjpagent.dll+0x4155d]
[ 53.349] C [yjpagent.dll+0x4154f]
[ 53.355] C [yjpagent.dll+0x41734]
[ 53.360] C [yjpagent.dll+0x36d3]
[ 53.365] C [mscordbc.dll+0x5f05]
[ 53.370] C [mscorwks.dll+0x2ee085]
[ 53.374] C [mscorwks.dll+0x2d2c67]
[ 53.379] C [mscorwks.dll+0x19a120]
[ 53.385] C [mscorwks.dll+0xf7694]
[ 53.390] C [mscorwks.dll+0xf5f68]
[ 53.395] C [mscorwks.dll+0xfdfa1]
[ 53.400] C [mscorwks.dll+0xfdf4b]
[ 53.406] C [mscorwks.dll+0x2edbb7]
[ 53.411] C [yjpagent.dll+0x460b4]
[ 53.418] C [yjpagent.dll+0x46424]
[ 53.423] C [yjpagent.dll+0x4646e]
[ 53.428] C [KERNEL32.dll+0x8e3f3]
[ 53.433] C [ntdll.dll+0x7cfed]
[ 53.436] [ObjectReferences] ExceptionAddress = 7A16172B
[ 53.436] [ObjectReferences] ExceptionCode = -1073741819
[ 53.437] [ObjectReferences] ExceptionFlags = 0
[ 53.438] [ObjectReferences] ExceptionRecord = 00000000
[ 53.439] [ObjectReferences] NumberParameters = 2
[ 53.440] [ObjectReferences] ExceptionInformation[0] = 0

[ 53.441] [ObjectReferences] ExceptionInformation[1] = 185767140

[ 53.446] C [mscorwks.dll+0x2f172b]
[ 53.451] C [mscordbc.dll+0x6ec1]
[ 53.456] C [yjpagent.dll+0x3ee2c]
[ 53.461] C [yjpagent.dll+0x40f22]
[ 53.467] C [yjpagent.dll+0x41305]
[ 53.472] C [yjpagent.dll+0x4155d]
[ 53.477] C [yjpagent.dll+0x4154f]
[ 53.482] C [yjpagent.dll+0x41734]
[ 53.488] C [yjpagent.dll+0x36d3]
[ 53.493] C [mscordbc.dll+0x5f05]
[ 53.498] C [mscorwks.dll+0x2ee085]
[ 53.503] C [mscorwks.dll+0x2d2c67]
[ 53.508] C [mscorwks.dll+0x19a120]
[ 53.514] C [mscorwks.dll+0xf7694]
[ 53.519] C [mscorwks.dll+0xf5f68]
[ 53.524] C [mscorwks.dll+0xfdfa1]
[ 53.529] C [mscorwks.dll+0xfdf4b]
[ 53.535] C [mscorwks.dll+0x2edbb7]
[ 53.540] C [yjpagent.dll+0x460b4]
[ 53.545] C [yjpagent.dll+0x46424]
[ 53.550] C [yjpagent.dll+0x4646e]
[ 53.555] C [KERNEL32.dll+0x8e3f3]
[ 53.562] C [ntdll.dll+0x7cfed]
[ 53.564] [ObjectReferences] ExceptionAddress = 7A16172B
[ 53.565] [ObjectReferences] ExceptionCode = -1073741819
[ 53.566] [ObjectReferences] ExceptionFlags = 0
[ 53.568] [ObjectReferences] ExceptionRecord = 00000000
[ 53.569] [ObjectReferences] NumberParameters = 2
[ 53.570] [ObjectReferences] ExceptionInformation[0] = 0

[ 53.572] [ObjectReferences] ExceptionInformation[1] = 185767140

[ 53.577] C [mscorwks.dll+0x2f172b]
[ 53.582] C [mscordbc.dll+0x6ec1]
[ 53.588] C [yjpagent.dll+0x3ee2c]
[ 53.593] C [yjpagent.dll+0x40f22]
[ 53.599] C [yjpagent.dll+0x41305]
[ 53.605] C [yjpagent.dll+0x4155d]
[ 53.611] C [yjpagent.dll+0x4154f]
[ 53.616] C [yjpagent.dll+0x41734]
[ 53.622] C [yjpagent.dll+0x36d3]
[ 53.628] C [mscordbc.dll+0x5f05]
[ 53.634] C [mscorwks.dll+0x2ee085]
[ 53.639] C [mscorwks.dll+0x2d2c67]
[ 53.644] C [mscorwks.dll+0x19a120]
[ 53.650] C [mscorwks.dll+0xf7694]
[ 53.656] C [mscorwks.dll+0xf5f68]
[ 53.661] C [mscorwks.dll+0xfdfa1]
[ 53.667] C [mscorwks.dll+0xfdf4b]
[ 53.672] C [mscorwks.dll+0x2edbb7]
[ 53.678] C [yjpagent.dll+0x460b4]
[ 53.683] C [yjpagent.dll+0x46424]
[ 53.689] C [yjpagent.dll+0x4646e]
[ 53.694] C [KERNEL32.dll+0x8e3f3]
[ 53.700] C [ntdll.dll+0x7cfed]
[ 53.702] [ObjectReferences] ExceptionAddress = 7A16172B
[ 53.703] [ObjectReferences] ExceptionCode = -1073741819
[ 53.705] [ObjectReferences] ExceptionFlags = 0
[ 53.706] [ObjectReferences] ExceptionRecord = 00000000
[ 53.708] [ObjectReferences] NumberParameters = 2
[ 53.709] [ObjectReferences] ExceptionInformation[0] = 0

[ 53.710] [ObjectReferences] ExceptionInformation[1] = 185767140

[ 53.716] C [mscorwks.dll+0x2f172b]
[ 53.721] C [mscordbc.dll+0x6ec1]
[ 53.727] C [yjpagent.dll+0x3ee2c]
[ 53.733] C [yjpagent.dll+0x40f22]
[ 53.738] C [yjpagent.dll+0x41305]
[ 53.744] C [yjpagent.dll+0x4155d]
[ 53.750] C [yjpagent.dll+0x4154f]
[ 53.755] C [yjpagent.dll+0x41734]
[ 53.760] C [yjpagent.dll+0x36d3]
[ 53.766] C [mscordbc.dll+0x5f05]
[ 53.771] C [mscorwks.dll+0x2ee085]
[ 53.777] C [mscorwks.dll+0x2d2c67]
[ 53.783] C [mscorwks.dll+0x19a120]
[ 53.789] C [mscorwks.dll+0xf7694]
[ 53.795] C [mscorwks.dll+0xf5f68]
[ 53.800] C [mscorwks.dll+0xfdfa1]
[ 53.806] C [mscorwks.dll+0xfdf4b]
[ 53.811] C [mscorwks.dll+0x2edbb7]
[ 53.817] C [yjpagent.dll+0x460b4]
[ 53.825] C [yjpagent.dll+0x46424]
[ 53.831] C [yjpagent.dll+0x4646e]
[ 53.837] C [KERNEL32.dll+0x8e3f3]
[ 53.842] C [ntdll.dll+0x7cfed]
[ 53.844] [ObjectReferences] ExceptionAddress = 7A16172B
[ 53.845] [ObjectReferences] ExceptionCode = -1073741819
[ 53.846] [ObjectReferences] ExceptionFlags = 0
[ 53.848] [ObjectReferences] ExceptionRecord = 00000000
[ 53.849] [ObjectReferences] NumberParameters = 2
[ 53.851] [ObjectReferences] ExceptionInformation[0] = 0

[ 53.852] [ObjectReferences] ExceptionInformation[1] = 185767140

[ 53.858] C [mscorwks.dll+0x2f172b]
[ 53.863] C [mscordbc.dll+0x6ec1]
[ 53.869] C [yjpagent.dll+0x3ee2c]
[ 53.874] C [yjpagent.dll+0x40f22]
[ 53.880] C [yjpagent.dll+0x41305]
[ 53.885] C [yjpagent.dll+0x4155d]
[ 53.891] C [yjpagent.dll+0x4154f]
[ 53.897] C [yjpagent.dll+0x41734]
[ 53.902] C [yjpagent.dll+0x36d3]
[ 53.908] C [mscordbc.dll+0x5f05]
[ 53.914] C [mscorwks.dll+0x2ee085]
[ 53.920] C [mscorwks.dll+0x2d2c67]
[ 53.926] C [mscorwks.dll+0x19a120]
[ 53.931] C [mscorwks.dll+0xf7694]
[ 53.937] C [mscorwks.dll+0xf5f68]
[ 53.942] C [mscorwks.dll+0xfdfa1]
[ 53.948] C [mscorwks.dll+0xfdf4b]
[ 53.953] C [mscorwks.dll+0x2edbb7]
[ 53.959] C [yjpagent.dll+0x460b4]
[ 53.965] C [yjpagent.dll+0x46424]
[ 53.971] C [yjpagent.dll+0x4646e]
[ 53.977] C [KERNEL32.dll+0x8e3f3]
[ 53.983] C [ntdll.dll+0x7cfed]
[ 53.984] [ObjectReferences] ExceptionAddress = 7A16172B
[ 53.986] [ObjectReferences] ExceptionCode = -1073741819
[ 53.987] [ObjectReferences] ExceptionFlags = 0
[ 53.988] [ObjectReferences] ExceptionRecord = 00000000
[ 53.990] [ObjectReferences] NumberParameters = 2
[ 53.991] [ObjectReferences] ExceptionInformation[0] = 0

[ 53.993] [ObjectReferences] ExceptionInformation[1] = 185767140

[ 53.998] C [mscorwks.dll+0x2f172b]
[ 54.004] C [mscordbc.dll+0x6ec1]
[ 54.014] C [yjpagent.dll+0x3ee2c]
[ 54.020] C [yjpagent.dll+0x40f22]
[ 54.028] C [yjpagent.dll+0x41305]
[ 54.034] C [yjpagent.dll+0x4155d]
[ 54.041] C [yjpagent.dll+0x4154f]
[ 54.047] C [yjpagent.dll+0x41734]
[ 54.053] C [yjpagent.dll+0x36d3]
[ 54.059] C [mscordbc.dll+0x5f05]
[ 54.064] C [mscorwks.dll+0x2ee085]
[ 54.069] C [mscorwks.dll+0x2d2c67]
[ 54.075] C [mscorwks.dll+0x19a120]
[ 54.081] C [mscorwks.dll+0xf7694]
[ 54.086] C [mscorwks.dll+0xf5f68]
[ 54.092] C [mscorwks.dll+0xfdfa1]
[ 54.097] C [mscorwks.dll+0xfdf4b]
[ 54.103] C [mscorwks.dll+0x2edbb7]
[ 54.108] C [yjpagent.dll+0x460b4]
[ 54.114] C [yjpagent.dll+0x46424]
[ 54.119] C [yjpagent.dll+0x4646e]
[ 54.125] C [KERNEL32.dll+0x8e3f3]
[ 54.131] C [ntdll.dll+0x7cfed]
[ 54.132] [ObjectReferences] ExceptionAddress = 7A16172B
[ 54.134] [ObjectReferences] ExceptionCode = -1073741819
[ 54.135] [ObjectReferences] ExceptionFlags = 0
[ 54.136] [ObjectReferences] ExceptionRecord = 00000000
[ 54.138] [ObjectReferences] NumberParameters = 2
[ 54.139] [ObjectReferences] ExceptionInformation[0] = 0

[ 54.140] [ObjectReferences] ExceptionInformation[1] = 185767140

[ 54.146] C [mscorwks.dll+0x2f172b]
[ 54.152] C [mscordbc.dll+0x6ec1]
[ 54.157] C [yjpagent.dll+0x3ee2c]
[ 54.163] C [yjpagent.dll+0x40f22]
[ 54.168] C [yjpagent.dll+0x41305]
[ 54.187] C [yjpagent.dll+0x4155d]
[ 54.192] C [yjpagent.dll+0x4154f]
[ 54.198] C [yjpagent.dll+0x41734]
[ 54.203] C [yjpagent.dll+0x36d3]
[ 54.209] C [mscordbc.dll+0x5f05]
[ 54.214] C [mscorwks.dll+0x2ee085]
[ 54.220] C [mscorwks.dll+0x2d2c67]
[ 54.226] C [mscorwks.dll+0x19a120]
[ 54.232] C [mscorwks.dll+0xf7694]
[ 54.237] C [mscorwks.dll+0xf5f68]
[ 54.243] C [mscorwks.dll+0xfdfa1]
[ 54.249] C [mscorwks.dll+0xfdf4b]
[ 54.254] C [mscorwks.dll+0x2edbb7]
[ 54.260] C [yjpagent.dll+0x460b4]
[ 54.265] C [yjpagent.dll+0x46424]
[ 54.270] C [yjpagent.dll+0x4646e]
[ 54.276] C [KERNEL32.dll+0x8e3f3]
[ 54.282] C [ntdll.dll+0x7cfed]
[ 54.283] [ObjectReferences] ExceptionAddress = 7A16172B
[ 54.285] [ObjectReferences] ExceptionCode = -1073741819
[ 54.286] [ObjectReferences] ExceptionFlags = 0
[ 54.288] [ObjectReferences] ExceptionRecord = 00000000
[ 54.289] [ObjectReferences] NumberParameters = 2
[ 54.290] [ObjectReferences] ExceptionInformation[0] = 0

[ 54.292] [ObjectReferences] ExceptionInformation[1] = 185767140

[ 54.297] C [mscorwks.dll+0x2f172b]
[ 54.302] C [mscordbc.dll+0x6ec1]
[ 54.308] C [yjpagent.dll+0x3ee2c]
[ 54.314] C [yjpagent.dll+0x40f22]
[ 54.320] C [yjpagent.dll+0x41305]
[ 54.327] C [yjpagent.dll+0x4155d]
[ 54.333] C [yjpagent.dll+0x4154f]
[ 54.339] C [yjpagent.dll+0x41734]
[ 54.344] C [yjpagent.dll+0x36d3]
[ 54.350] C [mscordbc.dll+0x5f05]
[ 54.355] C [mscorwks.dll+0x2ee085]
[ 54.361] C [mscorwks.dll+0x2d2c67]
[ 54.366] C [mscorwks.dll+0x19a120]
[ 54.372] C [mscorwks.dll+0xf7694]
[ 54.378] C [mscorwks.dll+0xf5f68]
[ 54.388] C [mscorwks.dll+0xfdfa1]
[ 54.394] C [mscorwks.dll+0xfdf4b]
[ 54.399] C [mscorwks.dll+0x2edbb7]
[ 54.405] C [yjpagent.dll+0x460b4]
[ 54.411] C [yjpagent.dll+0x46424]
[ 54.417] C [yjpagent.dll+0x4646e]
[ 54.423] C [KERNEL32.dll+0x8e3f3]
[ 54.430] C [ntdll.dll+0x7cfed]
[ 54.431] [ObjectReferences] ExceptionAddress = 7A16172B
[ 54.433] [ObjectReferences] ExceptionCode = -1073741819
[ 54.434] [ObjectReferences] ExceptionFlags = 0
[ 54.435] [ObjectReferences] ExceptionRecord = 00000000
[ 54.437] [ObjectReferences] NumberParameters = 2
[ 54.438] [ObjectReferences] ExceptionInformation[0] = 0

[ 54.439] [ObjectReferences] ExceptionInformation[1] = 185767140

[ 54.445] C [mscorwks.dll+0x2f172b]
[ 54.450] C [mscordbc.dll+0x6ec1]
[ 54.456] C [yjpagent.dll+0x3ee2c]
[ 54.461] C [yjpagent.dll+0x40f22]
[ 54.467] C [yjpagent.dll+0x41305]
[ 54.473] C [yjpagent.dll+0x4155d]
[ 54.479] C [yjpagent.dll+0x4154f]
[ 54.484] C [yjpagent.dll+0x41734]
[ 54.490] C [yjpagent.dll+0x36d3]
[ 54.495] C [mscordbc.dll+0x5f05]
[ 54.500] C [mscorwks.dll+0x2ee085]
[ 54.506] C [mscorwks.dll+0x2d2c67]
[ 54.512] C [mscorwks.dll+0x19a120]
[ 54.518] C [mscorwks.dll+0xf7694]
[ 54.523] C [mscorwks.dll+0xf5f68]
[ 54.528] C [mscorwks.dll+0xfdfa1]
[ 54.534] C [mscorwks.dll+0xfdf4b]
[ 54.539] C [mscorwks.dll+0x2edbb7]
[ 54.545] C [yjpagent.dll+0x460b4]
[ 54.550] C [yjpagent.dll+0x46424]
[ 54.556] C [yjpagent.dll+0x4646e]
[ 54.562] C [KERNEL32.dll+0x8e3f3]
[ 54.567] C [ntdll.dll+0x7cfed]
[ 54.569] [ObjectReferences] ExceptionAddress = 7A16172B
[ 54.570] [ObjectReferences] ExceptionCode = -1073741819
[ 54.572] [ObjectReferences] ExceptionFlags = 0
[ 54.573] [ObjectReferences] ExceptionRecord = 00000000
[ 54.574] [ObjectReferences] NumberParameters = 2
[ 54.576] [ObjectReferences] ExceptionInformation[0] = 0

[ 54.577] [ObjectReferences] ExceptionInformation[1] = 185767140

[ 54.582] C [mscorwks.dll+0x2f172b]
[ 54.588] C [mscordbc.dll+0x6ec1]
[ 54.594] C [yjpagent.dll+0x3ee2c]
[ 54.599] C [yjpagent.dll+0x40f22]
[ 54.605] C [yjpagent.dll+0x41305]
[ 54.610] C [yjpagent.dll+0x4155d]
[ 54.616] C [yjpagent.dll+0x4154f]
[ 54.621] C [yjpagent.dll+0x41734]
[ 54.627] C [yjpagent.dll+0x36d3]
[ 54.633] C [mscordbc.dll+0x5f05]
[ 54.640] C [mscorwks.dll+0x2ee085]
[ 54.645] C [mscorwks.dll+0x2d2c67]
[ 54.651] C [mscorwks.dll+0x19a120]
[ 54.656] C [mscorwks.dll+0xf7694]
[ 54.662] C [mscorwks.dll+0xf5f68]
[ 54.668] C [mscorwks.dll+0xfdfa1]
[ 54.674] C [mscorwks.dll+0xfdf4b]
[ 54.679] C [mscorwks.dll+0x2edbb7]
[ 54.685] C [yjpagent.dll+0x460b4]
[ 54.690] C [yjpagent.dll+0x46424]
[ 54.696] C [yjpagent.dll+0x4646e]
[ 54.701] C [KERNEL32.dll+0x8e3f3]
[ 54.708] C [ntdll.dll+0x7cfed]
[ 61.346] Snapshot is saved to C:\Users\eric.hauser\Snapshots\mstest-2008-08-21.snapshot
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: MSTest profiling?

Post by Vladimir Kondratyev »

We are sorry for late response. Please send us the test (compiled EXE file) which reproduces the problem. You can send the test to suppor(at)yourkit.com or upload it on our write-only FTP server. Here is the connection parameters:

ftp://upload.yourkit.com
user ftp
empty password

Thank you in advance.
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: MSTest profiling?

Post by Vladimir Kondratyev »

Any updates?
Post Reply