07th-mod / 07th-mod/python-patcher
Add back thread debug prints / add better debugging for startup process
- Dominant language
- JavaScript
- Stars
- 214
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
A while ago I removed the printouts (now gated by the `Globals.DEBUG_THREAD_INFO` variable) which state when threads are started/stopped by the installer, to clean up the installer output.
However in cases where the installer does not start up properly, this can make it difficult to debug.
It may be better to enable this output, and/or improve the output so it is more clear what tasks will need to be completed during the startup process.
Also, there should be some debug output / handling if a thread hangs completely for whatever reason.
Contributor guide
No contributing guide indexed for this repository
Research direction
Look for the Globals.DEBUG_THREAD_INFO variable and the installer's thread management code. The issue mentions adding back debug prints for thread start/stop and improving output for the startup process. Also, implement debug output or handling for hung threads. Start by examining the installer's startup sequence and thread lifecycle management to understand where to insert logging and error handling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100