frida / frida-tools

Frida CLI tools
Other
344 stars 93 forks source link

Add a way to disable auto reload #83

Closed yotamN closed 2 years ago

yotamN commented 2 years ago

Auto reload is great but the way it's implemented it deletes any state in the REPL. I propose to add a flag to disable it. I personally think auto reload should be off by default but because we can't change it without breaking backwards compatibility I suggest adding the flag --no-auto-reload. If we want to eventually make it the default I also suggest adding --auto-reload flag that does nothing so the migration will be easier in the future.

We should also have a way to change the settings from the REPL which mean a %autoreload {on/off} command.

I plan on implementing it after my magics refactor is merged.