How can we help you today? How can we help you today?
Andy_P
Thanks for the update regarding updates. [image] So far, 1088 seems more stable than 1039, at least for me profiling a Winforms app targetting .NET 2.0. Had a couple of crashes with 1039 but none yet so far on 1088. Likes: File I/O events. My main dev machine is using XP, but I have managed to try 1088 out in a Win 7 machine to take a look at this feature, and I do like this very much. Works well, and is certainly an eye-opener (for me) to see the activity that is going on. 'Method events' Good stuff. I like the ability to click on the 'method event' bar and have the selected portion of the timeline fit to the method. Dislikes: None really, but I do have a couple of minor comments. 1. I preferred the tab where you can select which performance counters to add to the timeline when profiling to be labelled 'Performance Counters' instead of 'Charting Options'. 2. As my dev machine is running XP, the option to enable file I/O and SQL events is disabled, correctly, as you say can only profile these in Vista and above. However, when the 'hints' feature detects, for example, a section with high file I/O, it still pops up and says I can switch analysis modes to show the file I/O activity, when of course I cannot. Only a couple of minor points, but there you go - my 2p. Not tried sampling mode yet, but I will do so. All in all, thumbs up. / comments
Thanks for the update regarding updates. So far, 1088 seems more stable than 1039, at least for me profiling a Winforms app targetting .NET 2.0. Had a couple of crashes with 1039 but none yet so f...
0 votes
Hi Andrew, thank you for your reply. My app does use sockets directly, as well as using the serial port for communications with some PLC controlled OEM equipment. It does not connect to any remote database. However, none of the socket creation or connect code is hit when the app starts, at least not by default. I have another app I use to simulate the PLC equipment using sockets to help me debug my main app, and this gets profiled without problem. The app has contained socket code since I first purchased the profiler, and as I say, it used to work. Indeed, I used to to profile the socket code at the time. Not sure if this is relevant or not, but the app can be used with the memory profiler without issue. I am using a 3rd party library from ICSharp. (ICSharpCode.SharpZipLib.dll V0.85.5.452) Other tests that cause a crash: Setting the profiler to use the fastest profile method. Profiling both Debug and Release builds. At this point, the app crashes 100% of the time, right at the start. (I have a gimmicky splash screen that is the first thing to run, and this does not get the chance to appear before the crash dialog is displayed. I also disabled this, in case my gimmicks were causing grief.) I'll do some more tests, and see if I can perform any hacks that allow it to run. I will be sure to disable anti-virus and firewall as well to see if it helps. In the event of any success, I will be sure to let you know. In the meantime, if there is any more info you would like, let me know, thanks. / comments
Hi Andrew, thank you for your reply. My app does use sockets directly, as well as using the serial port for communications with some PLC controlled OEM equipment. It does not connect to any remote ...
0 votes
Setting all the options in the LoggingConfiguration file to DEBUG, (and correcting the spelling of 'leval' to 'level' (!), I get this output in the log: 25 Apr 2010 19:31:08.765 [1] INFO RedGate.Profiler.Logging.LogService - Starting new ANTS Performance Profiler 5 session 25 Apr 2010 19:31:08.781 [1] INFO RedGate.Profiler.Logging.LogService - Assembly version: 5.2.0.26 25 Apr 2010 19:31:16.671 [1] WARN RedGate.Profiler.OS.Local.LocalWindowsVersionInspector - Detected Windows version: Windows XP Home (5.1 32-bit) 25 Apr 2010 19:31:16.671 [1] WARN RedGate.Profiler.IISSupport.Local.LocalIisInspector - IIS is not supported on installed OS version. 25 Apr 2010 19:31:30.734 [1] INFO RedGate.Profiler.Engine.Logger - ANTS Memory Profiler Engine has started. 25 Apr 2010 19:31:30.734 [1] INFO RedGate.Profiler.Engine.Logger - Version: 5.2.0.26 25 Apr 2010 19:31:30.734 [1] INFO RedGate.Profiler.Engine.Startup.Basic.PipeConnection - Listening for connections on \\.\pipe\ANTSProfiler4. 25 Apr 2010 19:31:31.390 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:31.500 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 120, pixel = 50, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:31.500 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:31.500 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:31.500 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 100, pixel = 61.33334, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:31.500 [ConfigurableThreadPool thread] INFO RedGate.Profiler.Engine.Startup.Sessions.ProcessSession - Starting 'C:\TEMP\Projects\KAS Datalog\Datalog\bin\Release\Datalog.exe' 25 Apr 2010 19:31:42.531 [1] DEBUG RedGate.Profiler.UI.MainForm - m_Session_Terminated: Received Terminated event from ProfilerSession. 25 Apr 2010 19:31:42.546 [3] INFO RedGate.Profiler.Engine.Startup.Sessions.BaseSession - Process has finished. 25 Apr 2010 19:31:42.546 [1] DEBUG RedGate.Profiler.UI.MainForm - DoStopProfiling has been called. 25 Apr 2010 19:31:42.546 [1] DEBUG RedGate.Profiler.UI.MainForm - DoStopProfiling: Showing spinny panel 25 Apr 2010 19:31:42.562 [ConfigurableThreadPool thread] DEBUG RedGate.Profiler.UI.MainForm - BackgroundStopProfiling called 25 Apr 2010 19:31:42.562 [ConfigurableThreadPool thread] DEBUG RedGate.Profiler.UI.MainForm - BackgroundStopProfiling: stopping profiler 25 Apr 2010 19:31:42.562 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:42.578 [ConfigurableThreadPool thread] DEBUG RedGate.Profiler.UI.MainForm - BackgroundStopProfiling: updating tree 25 Apr 2010 19:31:42.578 [1] DEBUG RedGate.Profiler.UI.MainForm - m_Session_Terminated: Received Terminated event from ProfilerSession. 25 Apr 2010 19:31:42.593 [ConfigurableThreadPool thread] DEBUG RedGate.Profiler.UI.MainForm - UpdateTree( ISelectedRange, bool ) has been invoked 25 Apr 2010 19:31:42.609 [1] DEBUG RedGate.Profiler.UI.MainForm - UpdateTree( IProfileRange ): updating tree with null profile range and showing 'no results' message 25 Apr 2010 19:31:42.609 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 120, pixel = 50, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:42.640 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:42.640 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:42.640 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 100, pixel = 61.33334, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:42.656 [1] DEBUG RedGate.Profiler.UI.MainForm - UpdateTree( IProfileRange ): updating tree with null profile range and showing 'no results' message 25 Apr 2010 19:31:43.171 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:44.203 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:44.203 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 25 Apr 2010 19:31:44.812 [1] DEBUG RedGate.Profiler.UI.Chart.Canvas - ConvertValueToY: real = 0, pixel = 118, display minimum = 0, display maximum = 120 Still not sure this gives too much of a clue. / comments
Setting all the options in the LoggingConfiguration file to DEBUG, (and correcting the spelling of 'leval' to 'level' (!), I get this output in the log: 25 Apr 2010 19:31:08.765 [1] INFO RedGate.P...
0 votes