cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to profile service fabric applications?

Occasional Contributor

Is it possible to profile service fabric applications?

I attempted to profile a service fabric application running on a local cluster.  To do so, I started the service fabric application in my IDE (Visual Studio 2017) then detached the debugger, thus allowing me to attach to the process with AQtime.  However, when I tried to "Get results now", I got nothing -- no information whatsoever.  I added the path to the PDB files into the Project Search Directories dialog and tried again.  Still nothing.

 

Surely it must be possible to profile service fabric applications, but is there some unusual trick to it?

 

Thanks,

 

Dennis Jones

3 REPLIES 3
Occasional Contributor

Re: Is it possible to profile service fabric applications?

Response from SmartBear:

Note that there is a known limitation of the Attach To Process feature of AQtime:
>>>
If you attach to a .NET or Java application, AQtime will not analyze managed code in this application; only unmanaged code will be profiled. For example, by attaching a profiler to a managed application, you can profile native-code DLLs used by that application.
<<<


That is, if your application contains mixed code (or it is a pure .NET application), then you will be able to profile only its unmanaged part. To overcome the limitation, run the application directly from AQtime. If you need to configure any specific environment settings to start the application under AQtime, use the Run Parameters dialog (Run | Parameters...).

This does seem to explain why I got no results.

Highlighted
Occasional Contributor

Re: Is it possible to profile service fabric applications?

Unfortunately, that is NOT the solution.  It is only an explanation for why it does not work.

 

It is not possible to run Service Fabric applications from AQtime.  Service Fabric applications must be executed by the service fabric, but once they are running, there is a process that can be attached to.

 

Are there plans in the works to enhance AQtime to support profiling .NET applications via attaching to the process?

 

Dennis

Community Hero

Re: Is it possible to profile service fabric applications?

Hi Dennis,

 

I think that you should address this to Support again to get more prompt reply - https://support.smartbear.com/message/?prod=AQtime

Additionally you may create a feature request here (https://community.smartbear.com/t5/AQtime-Feature-Requests/idb-p/AQtime_Feature_Requests) and reference this thread for additional consideration.

 

Regards,
Alex
[Community Expert Group]
____
[Community Expert Group] members are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Postings made by [Community Expert Group] members
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
[Community Expert Group] signature is used with permission by SmartBear Software.
http://smartbear.com/forums/f83/t86934/community-experts/
================================
New Here?
Join us and watch the welcome video:
Watch the new Interview