1. A system for generating a source map (SMAP) from a visual paradigm that can be used along with an associated code output by a debugging tool to debug the visual paradigm, comprising: a visual object ordering system that determines an order number for each of a plurality of visual objects in the visual paradigm; and a mapping system that maps the order number of each visual object to a set of line numbers in the associated code output.