Examples/rhallo.py

Thu, 18 Dec 2014 18:56:04 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 18 Dec 2014 18:56:04 +0100
branch
5_5_x
changeset 3973
f77cdeea80e3
parent 42
23b45a742e17
child 3670
f0cb7579c0b4
permissions
-rw-r--r--

Fixed an issue related to handling an inactive syntax checker in the editor.
(grafted from efc9c803ebdcbaa76ed6abc8b81d30dd2750b788)

#!/usr/bin/env python

import sys

import eric5dbgstub

def main():
    print("Hello World!")
    sys.exit(0)
    
if __name__ == "__main__":
    if eric5dbgstub.initDebugger("standard"):
# or   if eric5dbgstub.initDebugger("threads"):
        eric5dbgstub.debugger.startDebugger()

    main()

eric ide

mercurial