Is there a way to see what exactly is using how much memory?

In memory in simulator it says application code, but I can't really drill down as to which parts of my code take how much code.

Is there a way to see this?