Ask a questionAsk a question
 

AnswerProfiling C# Apps on Windows Mobile Devices

  • Thursday, October 19, 2006 6:25 PMmuseicon Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Does the VSTS (Visual Studio Team System) profiling capability allow me to profile apps running on attached mobile devices?  I need to profile a C# app on an HP iPAQ running Windows Mobile 5.  If I can't profile running on the actual device, will the profiler work if running the app in emulation mode for the device?

    Thanks, Mike.

Answers

  • Friday, October 20, 2006 5:39 PMIan Huff Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Mike,

    Sorry to say, but the profiler does not currently support profiling apps running on attached mobile devices or on emulated mobil devices. For a tool that is as low level as the profiler we just could not consider supporting all the various mobile devices that are available in the release. We'll log you question as a vote for the ability to profiler mobile application as we plan our next products.

    Thank much,

    Ian

All Replies

  • Friday, October 20, 2006 5:39 PMIan Huff Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    Mike,

    Sorry to say, but the profiler does not currently support profiling apps running on attached mobile devices or on emulated mobil devices. For a tool that is as low level as the profiler we just could not consider supporting all the various mobile devices that are available in the release. We'll log you question as a vote for the ability to profiler mobile application as we plan our next products.

    Thank much,

    Ian

  • Thursday, December 14, 2006 4:40 PMGLutz78 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    You can log this as an additional vote too.  Even support for Pocket PC's only would be a major step forward.
  • Sunday, May 20, 2007 11:34 AMHarsha3496594 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I'm bummed Sad

    Was also looking for Profiler support for Mobile Apps...

  • Tuesday, June 19, 2007 7:26 PMLuis FraileMVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I was looking also for something like this, but I understand Ian and suppouse is a big complication to do something like that Sad

     

    +1

  • Wednesday, June 20, 2007 3:51 PMIan Huff Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Just want you all to know that the +1s in a forum like this don't go unnoticed here at Microsoft. With a relativly new feature like the profiler we are always in a state of evaluating what features we want to include in upcoming versions. The more requests we get for a specific feature from our customers the heavier we weight it when considering new features. So if you see this thread and profiling on mobile devices is important to you, don't think that leaving a comment won't be noticed.

     

    Thanks,

    Ian

  • Tuesday, July 10, 2007 7:40 AMDavid Guedalia Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I fourth the request, profiling is a critical tool (go profiling team), not having it available for mobile applications is a bummer.

    Is there a workaround?  a sample framework that could take the mobile application and run it, (gee an emulator, but maybe something simpler), sort of like running a Java Applet as an Application


  • Thursday, July 12, 2007 5:38 AMhull39 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Add me to the list of folks requesting a profiler for Windows Mobile apps,

    preferably running on the actual device.  However, a target that's an emulator for a "typical"

    mobile device would be better than nothing.

     

    J. Hull

  • Friday, July 27, 2007 3:48 AMLuthfi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Count me in too, currently my workaround is to create a new desktop project and link my smart device source file to this project and then profile the desktop application with desktop profiler. Well it doesn't reflect the actual condition but it's better than nothing.
  • Friday, August 03, 2007 9:03 AMDeep_1 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Count my vote in too... We really need to profile our mobile applications so that the performance can be bettered.
  • Saturday, August 25, 2007 8:54 PMkehl Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Same here, being able to profile a mobile application is an essential feature.
  • Saturday, September 22, 2007 9:31 AMpodoboq Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    +1
  • Wednesday, September 26, 2007 6:06 PMComputerWhiz Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Add me down for wanting a mobile profiler.

    [EDIT]

    Just saw this link on a new profiler in 3.5:

    http://blogs.msdn.com/netcfteam/archive/2007/09/12/power-toys-for-net-compact-framework-3-5-ctp-released.aspx

    Kudos go out to the Compact Framework team!

    [/EDIT]
  • Tuesday, October 09, 2007 6:06 AMsatishbabu Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hi Microsoft Team,

     

    I am working on Windows Mobile 6.0.

    If there is a profiler support, it would have helped me alot in achieving good performance of my code in

    a efficient way.

    Hope u ppl ll come with new version of VS which supports this feature........

     

     

    Thanks & Regards,

    satish

     

      

  • Thursday, October 11, 2007 8:40 AMdseifert Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    A profiler (incl. for C++ apps) would really be most helpful. I guess it also would be beneficial for Microsoft if we developers could improve the speed of our products, as after all this is what most users evaluate the platform on :-)
  • Thursday, May 01, 2008 10:06 AMricflams Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I too wanted a code-profiler for a very large mobile C# app we were building for a client. And like all of you I found out that there were none.

    So, we simply built one ourselves :-)

    We've used it for a year now on a large application (7-8000 methods in 40-50 DLLs) and found and fixed many performance bottlenecks. We've even integrated the profiling-step in our autobuild. It's an instrumenting profiler, so it works by injecting extra MSIL-instructions for timing into your application's assembly-files, but the profiling-step is very quick and the profiled code is typically only 40-50% bigger and runs 20-25% slower. This is mostly because we only time methods, not statements, but that's usually perfectly fine for making your slow code-spots stand out. Like pointing us to that place where an innocent variable, read in an inner loop, turned out to a property that cause an entire XPath-expression to be performed on an XML-document!

    Two weeks ago we decided to make it generally available and now we've "packaged" it (I've even recorded a video-demo of how it works :-) and set it free. It's quite easy to use, even though there is not (yet) any Visual Studio integration.

    You can get it at http://www.eqatec.com/tools/profiler

    If you have any question or comments or suggestions then don't hesitate to mail me or follow-up in this thread. We hope that a code-profiler will be useful for others too, and depending on the interest we'll put more effort into it to make it even better.
  • Thursday, May 01, 2008 12:38 PMAndrew-Murphy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Well please consider this as an extra vote (so long as it is not too late).  Also for profiling c++ apps on the WM platforms if that is not already supported (not found it yet).
  • Sunday, January 04, 2009 10:17 AMWaaahsabi Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I'd like to add my vote to this as well. Would be really awesome to be able to profile mobile apps, as performance and resource usage is really critical on those.
  • Tuesday, March 03, 2009 11:28 PMSky.Walker Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Proposed Answer
    One more vote from me
    • Proposed As Answer byDingle Zhang Monday, November 02, 2009 8:11 PM
    •  
  • Monday, November 02, 2009 8:15 PMDingle Zhang Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    So far more than 3 years passed and VS 2010 is close to release.

    But anyone can tell me the profiling C/C++/C# for WindowsMobile is or will be supported on VSTS?

    I really appreciate it.