Thank you Ki-Soo,
I am aware of the particular feature. However, firstly as I mention in another post I am having problems with my board and debug session and secondly it takes too much time to start debug session. I was hoping for an easier way.
What I have done to solve it using the gcc compiler, is to add flags to that keep the assembly files generated