Is there some way to implement functionality of FILE , LINE Visual Studio macroses in XCode ? It is needed for overloading new & delete to find leaks, with info about in what file & line there was a memory allocation. Thanks
Is there some way to implement functionality of FILE , LINE Visual Studio macroses
Share
Have you tried
__FILE__and__LINE__? They should work in Xcode.The following works for me:
You might also find
__PRETTY_FUNCTION__useful too.