I have a very weird problem. When I try to debug a code, sts totally ignores the code.
Below is my very simple code and I wondered why the values did not change, when I debugged, the lines from {
to client.employmentKindOfWork ="asdasd"
are not executed. It skips all and jumped right into client.save().
Client client = Client.FindById(caseInstance.clientIdClient);
if (client!=null) {
client.clientMailAddr1="sdfsdfsf"
client.isDelete = true
client.employmentKindOfWork ="asdasd"
client.save()
}
I tried the following steps:
- cleaning thru wizard command
- by clicking project then clean.
- Build the project few times.
- open and close STS.
- Create new workspace then Imported the project again.
- Adding this line in preferences?Java>je edit and default vm -XX:+UseParallelGC
- Refreshing the project by right click and refresh
- recompile thru command wizard
All of which did not work!!!
Pls. suggest anything I haven't tried that might fix this aside from updating because all my team mates have the same version I have and they are not having this prob.