Not working for web application, FW 3.5

14 posts, 2 answers
  1. Antonio Bakula
    Antonio Bakula avatar
    31 posts
    Member since:
    Dec 2008

    Posted 28 Apr 2011 Link to this post

    I have ASP.NET web application project (not web site), FW 3.5, and I can start profiling both from Visual Studio and standalone JustTrace exe file, but :

    1. When started in Visual Studio nothing happens, there are no data in Live Data and snapshot is empty, web application works normally, maybe problem is in FW 3.5 ? Process started is WebDev.WebServer20, screenshot :



    2. When started trough standalone Telerik.JustTrace.exe, there is a Live Data and snapshot contains data but nothing from my application, just from Dev Web server. I noticed that here is WebDev.WebServer40 is used, assemblies of my web application are listed in Assembly List, here is a Call tree snapshot



    OS is x64 Windows 7 with latest patches
  2. Andy Green
    Andy Green avatar
    342 posts
    Member since:
    Aug 2008

    Posted 29 Apr 2011 Link to this post

    I have the same issue with the same OS.

    Andy
  3. DevCraft banner
  4. Answer
    Mihail
    Admin
    Mihail avatar
    75 posts

    Posted 29 Apr 2011 Link to this post

    Hi Antonio,

    Thank you for your feedback. We found some issues with WebDev.WebServer20 (VS 2010 .NET 2.0) and we work on it. As quick workaround I would suggest to make your web site .NET 4.0. In that case VS 2010 will use WebDev.WebServer40 and you should get results. Sorry for the inconvenience.

    Regards,
    Mike
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  5. Antonio Bakula
    Antonio Bakula avatar
    31 posts
    Member since:
    Dec 2008

    Posted 29 Apr 2011 Link to this post

    Thanks Mark for your answer, upgrading to FW 4 is not an option for now so I will wait for fix.
  6. Vladi
    Admin
    Vladi avatar
    167 posts

    Posted 31 May 2011 Link to this post

    Hi Antonio,

    We have released a new JustTrace Beta version and we've included a fix for your problem. Hopefully now you will be able to profile your web application. Please give it a try and let us know if it works for you. Any other feedback will be also very valuable for us.

    Greetings,
    Vladi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  7. Antonio Bakula
    Antonio Bakula avatar
    31 posts
    Member since:
    Dec 2008

    Posted 31 May 2011 Link to this post

    hm, still don't work for me, it stil starts dev server 4.0, not 2.0, and and still get only data from devserver app, here are the screenshots:

    http://screencast.com/t/MDQ6Qp0t

    http://screencast.com/t/MeKrThAR


  8. Mihail
    Admin
    Mihail avatar
    75 posts

    Posted 02 Jun 2011 Link to this post

    Hello Antonio,

    Thank you for reporting this issue. We will investigate it further and let you know when we ship a fix.

    Regards,
    Mike
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

  9. Marina
    Marina avatar
    3 posts
    Member since:
    May 2011

    Posted 30 Jun 2011 Link to this post

    Hi Antonio,

    We have released a new JustTrace Beta version. Please give it a try and let us know if you still experience the same issue.

    Take into account that JustTrace will use the latest version of WebDev.WebServer installed on your system. You can search for your assemblies use in Call Tree via Filter functionality.

    Any further feedback would be greatly appreciated. 

    Regards,
    Marina
    the Telerik team
  10. Antonio Bakula
    Antonio Bakula avatar
    31 posts
    Member since:
    Dec 2008

    Posted 01 Jul 2011 Link to this post

    sorry Marina, still same thing as last time, Just Trace Version Beta 2011.1.628.1

    You can try for yourself just create empty FW 3.5 web application and try to profile it, JustTrace starts FW 4.0 development web server and basicaly it profiles dev web server and not my web application.

    http://screencast.com/t/bHFUiYB1J4VK
  11. Marina
    Marina avatar
    3 posts
    Member since:
    May 2011

    Posted 01 Jul 2011 Link to this post

    Hi again,
    did you check for your assemblies calls in threads System.Threading._ThreadPoolWaitCallback.PerformWaitCallback?

    Regards,
    Marina
    the Telerik team
  12. Marina
    Marina avatar
    3 posts
    Member since:
    May 2011

    Posted 14 Jul 2011 Link to this post

    Hi Antonio,

    Just wanted to let you know that the first official release of JustTrace is already available for download.
    Your feedback will be highly appreciated.

    Regards,
    Marina
    the Telerik team
  13. Antonio Bakula
    Antonio Bakula avatar
    31 posts
    Member since:
    Dec 2008

    Posted 18 Jul 2011 Link to this post

    Just tried with release version, still no go. I really don't understand why are you having hard time to reproduce this behaviour that I have, I attached simple ASP.NET 3.5 web application that calculates Fibonacci number and this function Fibonacci is clearly hotspot, and when I use JustTrace it identifies hot spots in web server instead in my Fibonacci code, so please try to profile this little application.

    Since I can not attach zip, here it is :

    http://www.antoniob.com/EasyEdit/UserFiles/Download/TelerikTest.zip
  14. Answer
    Marina
    Admin
    Marina avatar
    8 posts

    Posted 18 Jul 2011 Link to this post

    Hi Antonio,

    Thank you for your reply and for the web application you've send.
    I made some tests by profiling it with Sampling profiler in both JustTrace versions (standalone and VS integration).

    In general, the steps I'm following are - start JustTrace standalone, select your web application to be profiled with Sampling as "Local ASP.NET web site" and click "Run".
    After that, when the calculation is over, I click "Get Snapshot".
    In the "Hot Spots" view I click twice on "Name" column header so I can see the list sorted alphabetically but in reverse order.
    On the first line I see "TelerikTest._Default.Fibonacci" method which has taken ~60% of the total execution time. Hot spots from the web server are reported as well.
    However, this behaviour coincides with our expectation how profiling should be working for this type of profilees.

    A small modification in your code by adding a "for" cycle causes Fibonacci calculation to be performed multiple times. As expected, in this case "TelerikTest._Default.Fibonacci" method took nearly 100% of the total execution time.

    Please let me know if you can reproduce similar results by following the steps I've provided above.
    Also, do you expect Fibonacci method to consume ~60%?

    Regards,
    Marina
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>
  15. Antonio Bakula
    Antonio Bakula avatar
    31 posts
    Member since:
    Dec 2008

    Posted 19 Jul 2011 Link to this post

    Marina hi,

    These are expected results and I freshly installed Just Trace again and now is working ok !!! Don't know what's happened where maybe some leftovers from previous instalations.

    Thanks for your time.


Back to Top
DevCraft banner