Examples/rhallo.py@0e96e1557c45
Examples/rhallo.py
Sun, 23 Oct 2016 23:12:49 +0200
- author
- T.Rzepka <Tobias.Rzepka@gmail.com>
- date
- Sun, 23 Oct 2016 23:12:49 +0200
- changeset 5269
- 0e96e1557c45
- parent 3670
-
f0cb7579c0b4
- child 5422
-
222da86472d9
- permissions
- -rw-r--r--
Fix for PyPy showing no local variables and suppress exception on old frames.
#!/usr/bin/env python
import sys
import eric6dbgstub
def main():
print("Hello World!")
sys.exit(0)
if __name__ == "__main__":
if eric6dbgstub.initDebugger("standard"):
# or if eric6dbgstub.initDebugger("threads"):
eric6dbgstub.debugger.startDebugger()
main()