Integration with Microsoft Visual Studio still not working?

Questions about YourKit .NET Profiler
Post Reply
Tobbe
Posts: 72
Joined: Thu Feb 21, 2008 11:08 am

Integration with Microsoft Visual Studio still not working?

Post by Tobbe »

The "Integration with Microsoft Visual Studio" still doesn't work in the latest version 4.0.2. (This didn't work in 3.0.8 either!).

I'm I the only one with this problem?
Vladimir Kondratyev
Posts: 1624
Joined: Tue Aug 10, 2004 7:52 pm

Re: Integration with Microsoft Visual Studio still not working?

Post by Vladimir Kondratyev »

Please clarify which particular things do not work. For example, navigation to system classes such as System.String doesn't work and this is expected. What version of VS are you using?
Tobbe
Posts: 72
Joined: Thu Feb 21, 2008 11:08 am

Re: Integration with Microsoft Visual Studio still not working?

Post by Tobbe »

Trying to navigation to our custom classes, pdb files are available. Im using vs2005.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Integration with Microsoft Visual Studio still not working?

Post by Anton Katilin »

Is source code of the classes added to your project, or have you added a compiled library with pdb?
Tobbe
Posts: 72
Joined: Thu Feb 21, 2008 11:08 am

Re: Integration with Microsoft Visual Studio still not working?

Post by Tobbe »

Anton Katilin wrote:Is source code of the classes added to your project, or have you added a compiled library with pdb?
Source code is fully available for classes that I want to inspect. No obfuscation, standard debug build in vs2005.
Tobbe
Posts: 72
Joined: Thu Feb 21, 2008 11:08 am

Re: Integration with Microsoft Visual Studio still not working?

Post by Tobbe »

And its a ASP.NET application.
Tobbe
Posts: 72
Joined: Thu Feb 21, 2008 11:08 am

Re: Integration with Microsoft Visual Studio still not working?

Post by Tobbe »

Hi again, thanks for the 5.0 upgrade. The "cpu estimate" is really useful!

I can confirm that the vs-integration kinda works. I get the yourkit error, and i can see in vs2008 that its "compiling for refactoring", kinda like when one uses the find reference feature. It takes in our solution, +10 projects, about ~10sek to find the reference, and the ide is "locked".

Cant you use the same feature as the Debug window. Where you can, from code, write...

Code: Select all

//c:/mypath/myclass.cs(<line>,<column>)
Debug.WriteLine("c:/mypath/myclass.cs(100, 0)");
...and when clicked (in the debug window) it instantaneous opens the file at correct line. No "compiling for refactoring" required! Maybe something to look into to optimize this particular function? The integration works, just takes time...
Tobbe
Posts: 72
Joined: Thu Feb 21, 2008 11:08 am

Re: Integration with Microsoft Visual Studio still not working?

Post by Tobbe »

Tobbe wrote:Debug window.
I meant the output window :/
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Integration with Microsoft Visual Studio still not working?

Post by Anton Katilin »

Hello,

Thank you for the feedback.

To navigate, we need to know file and line number. Currently, this information is obtained via VS API which introspects class syntactic structure. Perhaps, we can optimize the algorithm, or try to find alternate approach.

Does it always take that much time in your solution, or only once when you navigate to some class first time?

Best regards,
Anton
Tobbe
Posts: 72
Joined: Thu Feb 21, 2008 11:08 am

Re: Integration with Microsoft Visual Studio still not working?

Post by Tobbe »

God point, I would say that its slowest the first time you navigate, but not that much slower.
Post Reply