Quantcast
Channel: Intel® Software - Intel® VTune™ Profiler (Intel® VTune™ Amplifier)
Viewing all articles
Browse latest Browse all 1574

Cannot see function names when profiling C# managed code

$
0
0

Hello,
I am unable to see any function names when doing a Hotspots Analysis of C#.  I am trying the VTune sample project serial_nqueens_csharp with VTune 2016 and Visual Studio 2015.  I see the sample project only has solutions/projects for vs2008 and vs2010 - not sure if that is relevant.  By comparison everything in VTune is working fine for C++ profiling.

Here is what it looks like on the Basic Hotspots Summary tab for serial_nqueens_csharp:

    Function                     Module CPU        Time
    -----------------------------------------------------
    [Outside any known module]   [Unknown]         3.515s
    func@0x6427830d8bc           mscorlib.ni.dll   0.249s
    -----------------------------------------------------

This is from the Bottom-Up tab:

    CPU Time
    1 of 1: 100.0% (3.515s of 3.515s)

    null ! [Outside any known module] - [unknown source file]
    null ! [Unknown stack frame(s)] - [unknown source file]
    MSCOREE.DLL ! CorExeMain_Exported + 0x68 - [unknown source file]
    KERNEL32.dll ! BaseThreadInitThunk + 0xc - [unknown source file]
    ntdll.dll ! RtlUserThreadStart + 0x20 - [unknown source file]

Visual Studio is generating the pdb file (serial_nqueens_csharp.pdb) alongside the exe but VTune just doesn't seem to be processing it to get the symbols.  Did support for C# get dropped for versions past vs2010?

I have had the same issue in "VTune Amplifier XE 2015 update2" before upgrading to "VTune Amplifier XE 2016 update2" which still has the problem.  Please advise!

Thanks,
-Mike


Viewing all articles
Browse latest Browse all 1574

Trending Articles