Memory exception when profiling

Until recently I had been using the profiler without any problems. Then I changed a couple of lines of code and my app raised the following exception when profiled:

"Attempted to read or write protected memory"

This exception only occurs when profiling. I managed to get round the problem by moving some lines of code around, but then it recurred in a different location when I made subsequent changes.

The code that I'm profiling is pure managed code, so I don't see how it can be anything in there causing the problem.

The application I am profiling is very large, so it isn't practical to send a sample solution.

Any ideas?

Comments

  • Brian DonahueBrian Donahue Posts: 6,590 New member
    Hello Akash,

    I'm sorry that I do not have a firm answer about this, except to say to ensure you're using the latest version (2.7 at this time). In order to get at the cause of the problem, we would almost certainly need the project.
Sign In or Register to comment.