fixed issue 1839: catch exception if source code cannot be opened in the debugger

See https://code.google.com/p/web2py/issues/detail?id=1839