How to view unit global variables in debugger

I’ve got quite a few units with quite a few global variables in them. I can’t seem to figure out how to inspect their values in the debugger. They don’t show up under ‘Locals’ and entering them in the ‘Watch’ gives me ‘Unknown identifier: …’

I’ve searched and couldn’t find an answer to this.

(Yes, globals are evil, but I’m porting lots of legacy code.)

Technically it should just work. Are they in the same namespace as the current class?

No, they are just distinct units in the ‘uses’ section for the current class.

I tried entering the unit name dot variable and that didn’t work either.

Do I have to put all these units in the same namespace to work under the debugger?

No; I’m just trying to asses the situation so I can try it here. Forgot an important question though: Which platform?

Android – same project as before (much further along now).

ah android. Seems like a current limitation in the evaluator, i’ll log an issue to investigate later.

Thanks, logged as bugs://76286

bugs://76286 got closed with status fixed.