How to set break point from the output window? Say loop_flag = 1 is an instruction where I want to set the break point from the output window.
Please read the uVision Getting Started guide, and work through the example Projects in it. This shows you how to create, build and debug Projects- including setting breakpoints.