You need to
before you can comment on or make changes to this bug.
-- create a script with a function;
-- in live edit add a function parameter; save;
protocol reports that new script appears
protocol doesn't mention a new script
-- reconnect debugger; see that the new script is there (named "...(old)")
The problem here is that when the script is edited we enter debugger context before calling Debug.LiveEdit.SetScriptSource and the context is used to compile the new script which is wrong. Instead live-edit code should compute the context where the original script has been compiled and use it for compiling the new script.