In Visual studio you use: Code: #define _CRTDBG_MAP_ALLOC //then after main _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); This does not compile in Xcode. Launch Using Performance Tool --> Malloc does not work b/c I am using the new operators with C++. EDIT: When I purposely try to go over an array's bounds, I get "executable path is nil". What does this mean? Thanks!