Home > Back-end >  Using Intellij Idea debugging SpringBoot project, change the value of a static variable doesn't
Using Intellij Idea debugging SpringBoot project, change the value of a static variable doesn't

Time:12-01


Using Intellij Idea debugging SpringBoot project, MESSAGE_UPDATE_SUCCESS is a static variable, from {" message ":" the update success "}, more change to {" message ":" update success2 "},


At the time of debugging, can see inside the method return value has become the latest, but to the external approach is to see the port. SubmitApplicationForm (CMD) return the remains of the old values,




So I think may be the Idea of debugging the system cache, I reboot the machine, the problem still exists,

Do you have know this is where the problem?

CodePudding user response:

  • Related