-
Notifications
You must be signed in to change notification settings - Fork 88
Closed
Description
Description
Imported modules do not reload when edited, keeping changes from being applied to main script.
How to reproduce
- Create
imported_module.py
def call_me():
return 'Foo'- Create
main.py
from imported_module import call_me
print(call_me())- Start IDACode from IDA
[IDACode] Listening on 127.0.0.1:7065
- Connect IDACode from VSCode
[IDACode] Client connected
[IDACode] Set workspace folder to c:\ida_code_bug
- Save
main.pyto trigger code execution
[IDACode] Executing c:\ida_code_bug\main.py
Foo
- Edit
call_meinimported_module.pyto returnBar
def call_me():
return 'Bar'[IDACode] Executing c:\ida_code_bug\imported_module.py
- Save
main.pyto trigger code execution
[IDACode] Executing c:\ida_code_bug\main.py
Foo
Expected result
call_me function should returns Bar.
Related issues
Metadata
Metadata
Assignees
Labels
No labels