mirror of
https://github.com/idapython/src
synced 2026-06-08 14:47:00 +00:00
Merge pull request #51 from Harding-Stardust/fix-hardcoded-value
Fix: replaced a magic constant with a named constant
This commit is contained in:
@@ -16,7 +16,7 @@ def main():
|
||||
if not ida_dbg.is_debugger_on():
|
||||
print("Please run the process first!")
|
||||
return
|
||||
if ida_dbg.get_process_state() != -1:
|
||||
if ida_dbg.get_process_state() != ida_dbg.DSTATE_SUSP:
|
||||
print("Please suspend the debugger first!")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user