Variables area empty after updating Java on MacOS

After updating Java in Mac OS 10.5.5 the variables area in debug is always empty, so I cannot check what happens when I am in debug mode. I have tried to change the Java preferences to every possible combination, but with no result. Is this a problem with the updated Mac Java installation or I am doing something wrong? Anyone experiences the same behavior?

That’s odd, it works fine on my Mac. Are you debugging Smart or Web Client?

I am debugging smart client. I tried also reinstalling Servoy 4.0.1, with no result. It is the same situation I had before 4.0.1. Debugging web client works fine.

More on this. The script execution stops when hitting the step over button and the smart client freezes. In web client everything works ok. Could be a memory issue, maybe?

Update. This problem occurs with one solution only, imported from 3.5.6. With another solution, a much simpler one with only three forms instead of a few dozens for the other, the variables area in eclipse shows correctly. Any idea on how to solve this? Where should I look to check what went wrong? Any help would be greatly appreciated.

you say that it locks up is that always the case?
or can you just debug but you really dont see the variables appearing even when you are stepping and running normally?

yes, it locks up. And if I close Servoy developer, the smart client freezes and I must force quit.

so you dont see variables in your view when you hit a breakpoint (but then nothing is hanging yet)
but it hangs when you hit step over?

And that only for that specific solution not a smaller sample solution?
also does it matter what script you hit in the debugger?

Somehow you have something in your solution that the debugger cant handle, for example if you really close the variables view does it work then?

  1. If the variables view is closed the debugger works (this is exactly the same behavior I had in 4.0.0, a situation I called a Catch 22 nightmare: the debugger works but it is almost useless because I can’t see what is happening);
  2. This happens no matter what script or form I am debugging in that specific solution;
  3. I don’t think it is the code, because in web client debugging works and the script shows no problem at all;

In 4.1 b1 this problem persists.

What version of Java are you on? Any other particular differences on your Mac to a standard one? We have multiple Macs here on 10.5.5 and debugging of Smart Client works brilliant… Any other Mac users here with similar issues?

I have installed the Java 6 update 2, recently released and the java version I am using is

java version "1.5.0_16"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)

I tried changing the default Java order in Java Preferences, but with no success. As the problem revealed just after updating Java with update 2, this morning I reinstalled the system with no java update. But nothing changed, I still couldn’t see the variables view and smart client freezes. This continued also after re-installing each of the Java updates (1 and 2). At least now I know that the problem wasn’t with Java Update 2. I also installed a fresh copy of Servoy 4.0.1 and connected to new, empty databases and made a clean import of the solutions. But the situation didn’t change.

can you make a case with a or the solution attached that has that behavior in the debugger?
It seems that you trigger something that will result in that behavior.

I am trying to create a small sample solution to open a case, but this problem is totally unpredictable and I can’t reliably reproduce it. By the way, I also experience the blank form issue that was present in the early Servoy 4.0.
I am trying to create a new solution copying form by form by hand replicating the one that has the problem with the debugger view, and everything worked fine until I made some changes to the global.js code and the variable area disappeared again. At this point, removing a module solved the problem in the second (duplicated) solution, but not in the original one.

Servoy Version: 4.1.0 b5 - build 644
MacOS X 10.5.5
java.vm.version=1.5.0_16-133

and you dont see in any logs (our servoy log or the .log.txt in the .metadata dir of serclipse) that shines a bit more light on that?

I checked the logs but I don’t see anything significant, to me at least. I enclose a copy of the metadata log.

However I noticed a couple of things:
a) If the variable view in the debug perspective is closed I am able to move through the code in the debugger and the smart client does not hang: this is exactly the same behavior of an early Servoy/Eclipse 4.0 release;
b) when closing the smart client clicking on the red dot in the upper left corner (I am using MacOS 10.5.5) the contents of the window disappear but the window itself stays open and I must click a second time on the red dot to close it.

metadatlog.txt (1.48 KB)

if somehow you could give me a reproducible case or some log that shows me a bit more then i could fix it.

It seems to me that you at some step in your debugger bump into some variable (could be quite deep like a plugin) that is causing weird stuff in the communication between the debugger and client.
But i just need to know what that is.