brintos

brintos / llvm-project-archived public Read only

0
0
Text · 386 B · ab30e65 Raw
17 lines · python
1import sys2import os.path3import traceback4 5if __name__ == "__main__":6    try:7        sys.path.insert(0, os.path.dirname(__file__))8 9        import ompd10 11        ompd.main()12        print("OMPD GDB support loaded")13        print("Run 'ompd init' to start debugging")14    except Exception as e:15        traceback.print_exc()16        print("Error: OMPD support could not be loaded", e)17