Skip to content

Hot Code Replace

Jinbo Wang edited this page Jun 17, 2019 · 6 revisions

Prerequisite

java.autobuild.enabled user setting is not disabled.

Limitation

There are some scenarios that Hot Code Replace cannot work.

  • Change on the top call stack.
  • Change on the call stack above the native methods.
  • Change method names or introduce errors into running code.
  • Currently, the VSCode Java debugger only support type level hot code replace. So it will pop into the top most call stack that involving the changed types.

When you see these HCR failures, don't worry. It is safe to continue running the application, but you may notice discrepancies when debugging this application.

Clone this wiki locally