Just like the subject says, MemProfiler.IsProfiling is returning false when I use "Attach to Process". It works fine when starting the profiled application from visual studio using Profiler -> Start Memory Profiler.
-Ben
MemProfiler.IsProfiling returning false when using Attach
-
- Posts: 1030
- Joined: Wed Mar 02, 2005 7:53 pm
When the profiler attaches to a process, the profiler will only passively analyse the memory usage of the process. The profiler will not affect the attached process in any way, and therefore the profiled process is not aware of being profiled. In order to use the profiler API, you need to start the process from the profiler.
Best regards,
Andreas Suurkuusk
SciTech Software AB
Andreas Suurkuusk
SciTech Software AB
Who is online
Users browsing this forum: No registered users and 1 guest