Debug lotusscript NotesUIWorkspace inconsistant

When I run the following script (script in view action button) in debug mode, the NotesUIWorkspace object does not contain NotesUIDocument (CurrentDocument) nor NotesUIDatabase (CurrentDatabase).Only NotesUIView object is set (CurrentView):

Dim uiw As New NotesUIWorkspace

Dim db As NotesDatabase

Dim uidoc As NotesUIDocument

Dim uiv As NotesUIView



Set uidoc = uiw.CurrentDocument

Set db = uiw.CurrentDatabase.Database 'throws an Object variable not set error here!

This is a problem because I cannot debug my scripts which contain the NotesUIWorkspace object…

Please let us know!

Subject: Known issue. SPR:SODY7NRJES

Hi,

This is currently reported to development as SODY7NRJES.

Subject: Known issue

I’ve looked on the SPR’s and this number does not appear. Should I be looking somewhere else? I’ve read the other posts on this issue and just discovered that running the notes client in basic mode as a ‘workaround’ is a pain–because you can’t then update your code and rerun. Can’t run the Eclipse designer and a basic client at the same time.