Comments
Sort by recent activity
Hi Jason,
You should be able to do this by calling GetService and getting an instance of IAssemblyBrowser. You can then set ActiveItem on IAssemblyBrowser.
The IAssemblyBrowser.ActiveItem will take any of the following types:
IAssemblyReference
ITypeReference
IMemberReference // And derived types IE IMemberDeclaration etc
IResource
IModule // As long as module.Assembly != null
Hope this helps,
James / comments
Hi Jason,
You should be able to do this by calling GetService and getting an instance of IAssemblyBrowser. You can then set ActiveItem on IAssemblyBrowser.
The IAssemblyBrowser.ActiveItem will take...
Hi there,
Thanks for posting,
Our plan at the moment is to continue to provide a fully functional free (to be clear - that is the same functionality as is in the product today) version for the community.
I understand that many people will be sceptical about this regardless of what I say but I hope that people will keep an open mind and will judge us on our actions over the next few months and not their understandable fears over the future of what is a massively popular tool.
James / comments
Hi there,
Thanks for posting,
Our plan at the moment is to continue to provide a fully functional free (to be clear - that is the same functionality as is in the product today) version for the comm...
Hi Kevin,
Thanks for taking the time to provide all that feedback - some really useful stuff there.
I won't reply to each post individually right now but I will see what we can do for you over the next few weeks/months.
James / comments
Hi Kevin,
Thanks for taking the time to provide all that feedback - some really useful stuff there.
I won't reply to each post individually right now but I will see what we can do for you over the ...
I don't see any reason why we couldn't offer both options during the download process. (I constantly misplace my copy of reflector so an installer would suit me for my desktop) but there is also something very nice about being able to run it out of a zip file when at someone elses computer.
I'm not promising anything right now but we will look into it.
James / comments
I don't see any reason why we couldn't offer both options during the download process. (I constantly misplace my copy of reflector so an installer would suit me for my desktop) but there is also so...
Thanks for the feedback!
When I first run VS 2008 after installing the profiler, I could see ANTS 4 in the menu bar but the first 3 menu items were disabled, I didn’t know why. So I had to run ANTS 4 using Launch ANTS 4 Performance Profiler. I assume the other menu items would profile whatever exe is specified by VS 2008's "default startup project"?
You are right, can you confirm you didn't have a project loaded at this point? If you did what type of project was it and how many projects were there in your solution?
I got an exception when changing some chart parameters - this never happens when running without the profiler:
I have had similar things happen to me when profiling, this can often be due to the profiler's overhead slowing something down a bit which then exposes some sort of race condition. This looks like it is totally internal to Dundas which might make finding the exact cause difficult. Which version of the Dundas charts component are you using?
Once again thanks for taking the time to provide us with feedback, it is very much appreciated.
James / comments
Thanks for the feedback!
When I first run VS 2008 after installing the profiler, I could see ANTS 4 in the menu bar but the first 3 menu items were disabled, I didn’t know why. So I had to run A...
Hi Jeff,
Probably the easiest way to do this is going to be switching off all of the performance counters you can (The process % CPU is required) in the performance counter tab of the startup wizard. You can then re-add them in batches to find which is corrupted.
We use the .NET standard BCL functions to access the performance counters (System.Diagnostics.PerformanceCounter) so I will see if I can create a little dianostics app for you in a bit.
Regards,
James / comments
Hi Jeff,
Probably the easiest way to do this is going to be switching off all of the performance counters you can (The process % CPU is required) in the performance counter tab of the startup wizar...
Hi Again,
Doing some digging CbEvtSvc.exe (http://www.bleepingcomputer.com/startups/CbEvtSvc.exe-22167.html and http://uk.mcafee.com/virusInfo/default.asp?id=description&virus_k=144165) seems to be a legitimate virus report.
I have checked our build server, web server and checked the installer on the website with the orca MSI viewer and none of these have any trace of CbEvtSvc.exe in them. Our testers are currently installing the builds we have distributed on unpatched clean machines to verify this. We have also tried installing McAffeee on a virtual machine and not had a complaint about ANTS Profiler from it (Unfortunately we have not got our hands on the same version as you are using yet).
It is worth noting that ANTS Profiler can be mistaken for a Virus at times as it does the sort of thing a virus would be likely to do (injecting code into processes and rewriting code). It is also possible (although highly unlikely) that it tried to attach itself to CbEvtSvc.exe if it was already running.
One other note about using ANTS Profiler with McAffee is that ANTS Profiler does large amounts of Disk I/O and McAffee likes to try to scan the data we write to disk causing a massive increase in the profiling overhead.
Sorry for the problems you keep hitting with the beta,
James / comments
Hi Again,
Doing some digging CbEvtSvc.exe (http://www.bleepingcomputer.com/startups/CbEvtSvc.exe-22167.html and http://uk.mcafee.com/virusInfo/default.asp?id=description&virus_k=144165) seems to be...
Hi there,
I have split the post from the previous thread.
I just wanted to make sure you are using the performance profiler rather than the memory profiler (The memory profiler is pretty much the same one as v3 and we are working on that next).
Which version of the .NET framework does your application target and which version are you running on? Is your application ASP.NET/Winforms/WPF based?
If you are using the performance profiler could you go to tools then options and enable inlining as this will boost performance.
For point 2 I'm not 100% clear how your application is exiting - is it an unhandled exception? Do you call any functions or is it just clicking on the close button on the window? We have quite good test coverage in that area so if you are seeing a problem with shutdown it would be really good if we could get a reproducable test case.
Thanks for your feedback,
James / comments
Hi there,
I have split the post from the previous thread.
I just wanted to make sure you are using the performance profiler rather than the memory profiler (The memory profiler is pretty much the s...
Hi Paul,
Bart and Andrew will be back in on Monday so should be able to give a definitive answer then.
The tree looks about right to me. You have focused on "Transition to managed code". If you look three down from this on the left most tree it calls itself, also five down it calls itself. So the right trees are the same as the left tree but starting several steps further down the call stack so anything below these might well appear more than once in the complete graph despite having only been called once.
There was some talk about different approaches we could take to this a few weeks ago and I don't know which approach Stephen, Bart and Andrew decided upon in the end but as always I'm sure Stephen would love to know if you find it overly confusing.
I know the "Red Cycles" also denote recursion but I'm not quite sure why they appear on the nodes they do in your graph. Hopefully Andrew, Bart of Stephen will be able to enlighten us [image]
Many thanks as always,
James / comments
Hi Paul,
Bart and Andrew will be back in on Monday so should be able to give a definitive answer then.
The tree looks about right to me. You have focused on "Transition to managed code". If you loo...
Hi Jason,
Unfortunately I don't think there is a way to re-enable the source code box in ANTS Profiler 3. We are getting close to releasing a beta of ANTS Prfiler 4 so I will talk to the team about making sure that it is possible in ANTS Profiler 4. We have tried to improve the situation with remapping pdb paths to another location in V4 so hopefully that should make your life easier as well.
You can get a recent build of ANTS Profiler 4 from our EAP forum (http://www.red-gate.com/MessageBoard/viewforum.php?f=80) if you want to give it a try.
James / comments
Hi Jason,
Unfortunately I don't think there is a way to re-enable the source code box in ANTS Profiler 3. We are getting close to releasing a beta of ANTS Prfiler 4 so I will talk to the team about...