8000 Imported module not updated · Issue #36 · ioncodes/idacode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Imported module not updated #36
Closed
Closed
@Xartrick

Description

@Xartrick

Description

Imported modules do not reload when edited, keeping changes from being applied to main script.

How to reproduce

  1. Create imported_module.py
def call_me():
    return 'Foo'
  1. Create main.py
from imported_module import call_me

print(call_me())
  1. Start IDACode from IDA
[IDACode] Listening on 127.0.0.1:7065
  1. Connect IDACode from VSCode
[IDACode] Client connected
[IDACode] Set workspace folder to c:\ida_code_bug
  1. Save main.py to trigger code execution
[IDACode] Executing c:\ida_code_bug\main.py
Foo
  1. Edit call_me in imported_module.py to return Bar
def call_me():
    return 'Bar'
[IDACode] Executing c:\ida_code_bug\imported_module.py
  1. Save main.py to 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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0