Is there a way to see a script object's properties in the debugger?

When running the studio’s debugger (xcode 2.5) I seem to be unable to examine
property values located in a script object while tracing code execution.

Does anyone know how to do this?


on awake from nib theObject
	set obj to makeObj("oh boy")
	obj's changeData("yip")
	quit
end awake from nib

on makeObj(someData)
	script
		property myData : someData
		
		on changeData(someData)
			set myData to someData -- I would like to see myData at this point
		end changeData
	end script
end makeObj

Upon further investigation I could find no way to do it.
Setting a reference to the property in a global only resulted
in the debugger telling me the name of the property, not it’s contents.
Apparently watch variable is not supported in applescript, the option
is grayed out.

This seems to leave as the only options, putting in log statements or
local variable assignments. The second option is more convenient since
you don’t have to look at the console.

It looks like this:

on awake from nib theObject
	set obj to makeObj("oh boy")
	obj's changeData("yip")
	quit
end awake from nib

on makeObj(someData)
	script
		property myData : someData
		
		set myData to someData
		
		on changeData(someData)
			set myData to someData
			set myData_debug to myData -- line added for debugging
		end changeData
	end script
end makeObj