示例#1
0
    def _setup_debugger(self):
        from vulkan.debugger import Debugger

        if not self.debug:
            self.debugger = None
            return

        self.debugger = Debugger(self.api, self.instance)
        self.debugger.start()    

        self.debug_ui = DebugUI(self)
示例#2
0
def create_debugger():
    global debugger

    # Debug report setup
    debugger = Debugger(api, instance)
    debugger.start()