h4-debug 0.2.3__tar.gz → 0.2.5__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {h4_debug-0.2.3 → h4_debug-0.2.5}/PKG-INFO +1 -1
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/cli.py +1 -3
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/server.py +1 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/win_debugger.py +1 -2
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug.egg-info/PKG-INFO +1 -1
- {h4_debug-0.2.3 → h4_debug-0.2.5}/pyproject.toml +1 -1
- {h4_debug-0.2.3 → h4_debug-0.2.5}/README.md +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/__init__.py +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/handlers.py +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/interceptor.py +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/node_interceptor.js +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/static/dashboard.css +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/static/dashboard.html +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug/static/dashboard.js +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug.egg-info/SOURCES.txt +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug.egg-info/dependency_links.txt +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug.egg-info/entry_points.txt +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug.egg-info/requires.txt +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/h4_debug.egg-info/top_level.txt +0 -0
- {h4_debug-0.2.3 → h4_debug-0.2.5}/setup.cfg +0 -0
|
@@ -38,9 +38,7 @@ def main():
|
|
|
38
38
|
env = os.environ.copy()
|
|
39
39
|
|
|
40
40
|
# 3. Dispatch to handler based on file extension
|
|
41
|
-
ext =
|
|
42
|
-
if os.path.isfile(target):
|
|
43
|
-
ext = os.path.splitext(target)[1].lower()
|
|
41
|
+
ext = os.path.splitext(target)[1].lower()
|
|
44
42
|
|
|
45
43
|
if ext == ".py":
|
|
46
44
|
handlers.handle_python(target, command, env, args)
|
|
@@ -4,6 +4,7 @@ import time
|
|
|
4
4
|
import struct
|
|
5
5
|
import sys
|
|
6
6
|
import os
|
|
7
|
+
import threading
|
|
7
8
|
|
|
8
9
|
kernel32 = ctypes.WinDLL('kernel32', use_last_error=True)
|
|
9
10
|
|
|
@@ -159,7 +160,6 @@ def read_process_memory(hProcess, address, size):
|
|
|
159
160
|
|
|
160
161
|
def psutil_daemon(pid, client, stop_event):
|
|
161
162
|
import psutil
|
|
162
|
-
import threading
|
|
163
163
|
try:
|
|
164
164
|
proc = psutil.Process(pid)
|
|
165
165
|
except psutil.NoSuchProcess:
|
|
@@ -272,7 +272,6 @@ def debug_process(command, client):
|
|
|
272
272
|
process_handle = None
|
|
273
273
|
debug_event = DEBUG_EVENT()
|
|
274
274
|
|
|
275
|
-
import threading
|
|
276
275
|
daemon_stop_event = threading.Event()
|
|
277
276
|
daemon_thread = None
|
|
278
277
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|