I wanted to optimize my web development workflow, so that I could click stackraces in Firebug and go to the corresponding line in Sublime Text 2. There is a way to do it, but was not that easy... I had to create a wrapper script. It actually works with any source code line (HTML, CSS, Javascript) and not just stacktraces.
So, here you go
http://opensourcehacker.com/2012/10/20/opening-files-from-firebug-in-sublime-text-2-or-any-text-editor/