Performance Analysis in debug mode  
Author Message
Abongs





PostPosted: Visual Studio Performance Tools (Profiler), Performance Analysis in debug mode Top

Hi,

i have a solution with 7 projects, one .exe project and 6 .dll projects.

I want to profile info on one of the .dll project.

I can do it in "release mode".

My question: Is it possible to collect profiling (instrumentation) info in "debug mode" If possible, how can i do it

When i try to do it, i receive the error message:

"Assembly was not found. Please check your Application installation"

Thanks.

Abongs




Visual Studio Team System4  
 
 
Ian Huff





PostPosted: Visual Studio Performance Tools (Profiler), Performance Analysis in debug mode Top

Abongs,

Yes you can collect profiling data in debug mode, although I would not advise it. In debug mode, your code will not be optimized, so you may end up spending time on areas that are not really performance issues when running in release mode. However, if you really want to you can debug in profiling mode just as easily as in release mode. It appears to me that you are trying to run the performance session and for some reason it cannot locate the debug binaries. Can you check that you have built the debug binaries and that the binaries in the performance session target the correct location

Thanks,

Ian



 
 
Abongs





PostPosted: Visual Studio Performance Tools (Profiler), Performance Analysis in debug mode Top

Ian,

Thanks for your answer.

I stil have a problem with profiling instrumentation in debug mode. Now i receive the error message:

"PRF0025: No data was collected." after the solution was close.

I thing i will follow your advice <spending time on areas that are not really performance issues when running in release >.

Thanks again!

Abongs