The rebuilding command should be % cc -g -i memerror memerror.m Otherwise debugging symbols won't be included (which makes subsequent debugging steps more difficult)
% cc -g -i memerror memerror.m
Otherwise debugging symbols won't be included (which makes subsequent debugging steps more difficult)