Charting options disabled, cpu graph disapper after a minute
MikiWatts
Posts: 13 Bronze 1
I'm running the profiler on Windows Embedded for POS, as that's the hardware we're using for our POS application.
I'm having a problem where when starting profiling, the charting options are disabled, and the cpu graph disappers after about a minute, and doesn't progress anymore.
The strange thing is that I ran the trial version of the profiler, and version 5, and they worked just fine.
I've tried it on XP SP3, and while the charting options were also disabled there, the cpu graph moved along just fine.
When I bought and activated version 6, about an hour ago, I ran into those problems.
I'm profiling a .net 2.0 application.
Edit: I think I just realized my mistake, I bought the Standard edition, which indeed in the feature list doesn't have saving profiling results... but I would have expect it to profile more than one minute...
Edit: bought the professional version, and it was indeed the issue. I'll open a seperate thread about the profiling for one minute problem
Edit: never mind about the one minute thing, apparently it took a bit of time to update the screen.
I'm having a problem where when starting profiling, the charting options are disabled, and the cpu graph disappers after about a minute, and doesn't progress anymore.
The strange thing is that I ran the trial version of the profiler, and version 5, and they worked just fine.
I've tried it on XP SP3, and while the charting options were also disabled there, the cpu graph moved along just fine.
When I bought and activated version 6, about an hour ago, I ran into those problems.
I'm profiling a .net 2.0 application.
Edit: I think I just realized my mistake, I bought the Standard edition, which indeed in the feature list doesn't have saving profiling results... but I would have expect it to profile more than one minute...
Edit: bought the professional version, and it was indeed the issue. I'll open a seperate thread about the profiling for one minute problem
Edit: never mind about the one minute thing, apparently it took a bit of time to update the screen.
Comments
After pressing Stop Profiling, the option to save the profiler results under the file menu is also disabled.
I looked in the log folder, and I see in the most recent log file has this content:
(I see the same thing in the version 5 logs, so I guess it's not related... though the logs in version 5 have a lot more content in them)
could it be related to the fact that I'm using the version 5 profiler dll to raise custom events ? I'll try using the version 6 dll and see if that makes a difference.
If ANTS Performance Profiler is starting the program and then making it crash, you can try using the "methods only" profiling mode and see if that keeps it going. There have been problems with the Microsoft symbol reader libraries causing crashes so switching off line-level timings may make it work and if so we can go through a debugging process to try to find the offening symbols.
The graph is running ok, until about 1:30 minutes, when it fills the screen, and then it just disappers, and the time ticks don't progress any further. When I save the results, and try to view them, it shows the cpu graph, but it looks messed and has overlapping lines.
Here's what it looks like:
If I wait long enough, to about 2:30, without touching the application, it suddenly starts working again, but you can still see the mixed up cpu lines at the start:
Edit: OK, something is just not working right here... even if I leave the profiler running for 2 minutes, then perform a few actions with my application, and then try to view the results, I only see results from operations that run in background threads and not from the UI thread itself.
Edit: now the version 5 started doing it ! It worked just fine before:
So, problem solved. I'd suggest maybe adding some check for a change in the computer time, if the effects are so severe ?