Debugger support

Hot Reload provides debugger support. You can set a breakpoint in functions that have been added or edited during the Hot Reload process, new variables should be visible, and stepping in/out/through code works with the updated code.

Hot Reload works with your existing files - you don't need to work on a copy of your original file when using the debugger.

Please note that if you modify a function while halted at the breakpoint inside of that function, the modified code will only be visible after the current function invocation finishes.

Limitations

  1. The Debugger in Visual Studio is known to have issues with Hot Reload. Multiple updates to the same function may cause the breakpoints inside the function to not be hit. This issues was note observed in Rider.

  2. Instance fields are visible under 'this' object in the variables window:


Copyright © 2023 Hot Reload for Unity