Comments
Sort by recent activity
I bet if you change from displaying "Wall-clock time" to "CPU time" it will give you more interesting results [image] / comments
I bet if you change from displaying "Wall-clock time" to "CPU time" it will give you more interesting results
I guess it might be quickest to ask the person who created the application- they will know if its .Net 4 or not.
The profiling options are on the profiling setup screen that ANTS presents before you start profiling. Look for the 'Profiling mode' drop down. / comments
I guess it might be quickest to ask the person who created the application- they will know if its .Net 4 or not.
The profiling options are on the profiling setup screen that ANTS presents before yo...
I can suggest some workarounds- is this, by any chance, a .Net 4 exe?
If so- try the "attach-to-process" or "sampling" mode of profiling.
My guess is that ANTS is profiling the wrong process so "attach-to-process" is your best chance of profiling the correct process. / comments
I can suggest some workarounds- is this, by any chance, a .Net 4 exe?
If so- try the "attach-to-process" or "sampling" mode of profiling.
My guess is that ANTS is profiling the wrong process so "at...
Hmm, sorry you had an issue- I can'y say I understand it fully but glad its sorted now.
My guess would be something messed up your %PATH% variable... / comments
Hmm, sorry you had an issue- I can'y say I understand it fully but glad its sorted now.
My guess would be something messed up your %PATH% variable...
Can you try with a different profiling mode- I recommend sampling or, if possible- 'attach-to-process'. / comments
Can you try with a different profiling mode- I recommend sampling or, if possible- 'attach-to-process'.
Changing the mode of profiling to "fastest, least detail" is often the best way to see more accurate results.
Line-level timings may seem the best mode but it rarely is. / comments
Changing the mode of profiling to "fastest, least detail" is often the best way to see more accurate results.
Line-level timings may seem the best mode but it rarely is.
Yes.
For clarification- the Performance Profiler doesn't work on a 'snap-shot basis' (versions 1-3 used to, however and the Memory profiler does) - but this is incidental to giving you exactly what you want, I think.
So- I think the first place to start is with our command-line version of the profiler:
<Install_DIR>/Profile.exe
You can automate the running of this of course, and you can easily set it to run a profiling session that you have previously saved, using the GUI.
More info here: http://www.red-gate.com/supportcenter/c ... alkthrough
Please let me know if anything is not clear.
Do you want the same question answered for the Memory Profiler? (if so, please post in the other forum) / comments
Yes.
For clarification- the Performance Profiler doesn't work on a 'snap-shot basis' (versions 1-3 used to, however and the Memory profiler does) - but this is incidental to giving you exactly what...
Yes- this works in a straight-forward way. For example:
//////////////////
protected override void OnReportException(ReportExceptionEventArgs e)
{
if (MyStaticBoolean)
{
e.SendReport();
e.TryToContinue = true;
}
else
{
ExceptionReportingForm form = new ExceptionReportingForm(this, e);
form.ShowDialog();
}
}
////
i.e. just put the conditional logic in the OnReportException Method. Bingo! / comments
Yes- this works in a straight-forward way. For example:
//////////////////
protected override void OnReportException(ReportExceptionEventArgs e)
{
if (MyStaticBoolean)
{
e.SendReport();
e.TryToCont...
If you rethrow the handled exception- it should behave exactly the same as an unhandled exception. / comments
If you rethrow the handled exception- it should behave exactly the same as an unhandled exception.
Have you tried using the SDK. It is the only supported way to customise interaction with the webservice. / comments
Have you tried using the SDK. It is the only supported way to customise interaction with the webservice.