Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Profile debug or release build?

Tags:

.net

profiling

I need to do some memory profiling of a .NET Framework application. Should I use a debug or a release build?

like image 527
Justin R. Avatar asked Oct 06 '08 21:10

Justin R.


1 Answers

A release build, built with debug symbols.

That way there's no debug build overhead (like extra memory added after arrays for overrun detection), but you still have the names needed to associate addresses with variables.

like image 121
AShelly Avatar answered Oct 13 '22 11:10

AShelly