Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

VSTS Performance Explorer issues

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Chris Mullins - 25 Mar 2006 23:50 GMT
I'm trying to use the VSTS Profiler on a fairly large and complex .NET 2.0
application. In the past, I've always used the Compuware tools (especially
the Community Edition of their profiler) and am in general quite familure
with application tuning in .Net.

The application in question is a Windows Forms EXE with about 25 project
(all DLL's) under it, written using C# and a little of bit Managed C++. My
test environment is a Windows XP Professional machine and almost everything
is being built as "Any Cpu" (and what's not is being targeted at the x86
runtime).

When I create new performance session, I add in the "TestHarness" project -
this is the Winforms app that drives the DLL. In production this is a
Windows Service, but for testing I use the WinForms driver as it's alot
easier.

... so I create a performance session, add my TestHarness in, and try to hit
"Run". Unfortunatly the "run" button in the performance explorer is greyed
out. I've tried every means and mechanism I can think of, but it's always
greyed out. I've exited and come back in. I've switched between
Instrumentation and Sampling. I've kicked; I've screamed; I've yelled. I've
gone through the Wizard. I've done things manually. I offered up a prayer to
Bill and Steve. No dice.

I can run the application normally - I can set breakpoints, debug, etc. This
all works fine. It's just the Profiling infrastructure that seems to be
broken. If I create a little sample app, everything works fine. So I know
the installation of the profiling infrastructure is correct, and I know the
general process I'm using is valid.

I'm at my wits end in terms of getting this to work. I had really hoped this
would do the trick now that Compuware has stopped offering a free version of
their profiler - but so far I'm not not making much headway.

Signature

Chris Mullins

Chris Mullins - 26 Mar 2006 00:39 GMT
So to further complicate the issue, I have successfully run sampling
profiling.

When I switch to instrumentation profiling I get a message box saying 'Value
does not fall within the expected range.' and then the launch button greys
out.  To get the launch button back I have to restart the Visual Studio
application.

Instrumentation is much more usefull for what I'm doing than sampling, and
hopefully some resolution will make itself apparent soon.

Signature

Chris Mullins

> I'm trying to use the VSTS Profiler on a fairly large and complex .NET 2.0
> application. In the past, I've always used the Compuware tools (especially
[quoted text clipped - 29 lines]
> this would do the trick now that Compuware has stopped offering a free
> version of their profiler - but so far I'm not not making much headway.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.