1. A method for debugging a graphics application executing on a target device, the method comprising: initiating execution of the graphics application on the target device, wherein the graphics application comprises processor instructions which are executable to generate graphics commands to a graphics processing unit (GPU) for generation of graphics on a display of the target device; detecting a breakpoint for the graphics application at a first time, wherein said detecting is performed during execution of the graphics application on the target device; in response to detecting the breakpoint: displaying one or more graphics commands which were executed by the graphics system proximate to the first time; displaying source code corresponding to processing instructions which generated the one or more graphics commands.