Create a process and debug it. :rtype: :class:`Debugger`
(cls, path, args=None, dwCreationFlags=0, show_windows=False)
| 155 | |
| 156 | @classmethod |
| 157 | def debug(cls, path, args=None, dwCreationFlags=0, show_windows=False): |
| 158 | """Create a process and debug it. |
| 159 | |
| 160 | :rtype: :class:`Debugger`""" |
| 161 | dwCreationFlags |= DEBUG_PROCESS |
| 162 | c = windows.utils.create_process(path, args=args, dwCreationFlags=dwCreationFlags, show_windows=show_windows) |
| 163 | return cls(c) |
| 164 | |
| 165 | def _init_dispatch_handlers(self): |
| 166 | dbg_evt_dispatch = {} |