A simple question...why the 4.*.* version of YourKit .NET profiler does not recognize all thread names while in the older 3.*.* (i tested it some months ago, i don't remember the exact number) it worked without problems?
The test app is the same as before (no change at all, it is just an example app to evaluate the software).
Thread Names
-
- Posts: 1626
- Joined: Tue Aug 10, 2004 7:52 pm
Re: Thread Names
Please send us example application (executable is enough, but source code is better) which reproduces the problem.
-
- Posts: 10
- Joined: Wed Jun 24, 2009 4:38 pm
Re: Thread Names
Just use this code with any kind of ThreadBug function, it will report the "thd" Thread as unnamed in the CPU profiling results AND in the stack trace.
while it work if I change the name from inside the ThreadBug function. (in YourKit Profiler 3.x.x it worked on ALL cases as i remember)
Code: Select all
Thread.CurrentThread.Name = "Mah";
Thread thd = new Thread(new ThreadStart(ThreadBug));
thd.Name = "boh";
thd.Start();
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Thread Names
Hello,
Thank you for the detail.
The problem will be fixed in upcoming build 4.0.4.
Best regards,
Anton
Thank you for the detail.
The problem will be fixed in upcoming build 4.0.4.
Best regards,
Anton