fusion debug

0 views
Skip to first unread message

Paul

unread,
Jul 23, 2008, 6:33:06 AM7/23/08
to model-glue
Hi,

I have managed to get a handle on using fusion debug outside of model
glue but when i try to debug a model glue app i get, to say the least,
lost!

E.G. if i set a breakpoint in a function in my controller in an effort
to see the values of variables in it, and then run the app. The
debugger stops it at the breakpoint ok, and i am greeted with a whole
host of info. The problem is the only variable values i can find are
those that are set on the onRequestStart method of the controller, and
not any var values created in my own functions in that controller.

How can i see them in the debugger?

Thanks

denstar

unread,
Jul 23, 2008, 4:06:49 PM7/23/08
to model...@googlegroups.com
On Wed, Jul 23, 2008 at 4:33 AM, Paul wrote:
[...]

> How can i see them in the debugger?

Hi Paul!

Hmm... I'd recommend creating a test harness for your code, and using
that for debugging and whatnot.

That way you can eliminate MG as a factor for testing/debugging your model.

I like to have lots of little testable pieces that I then put together
into bigger testable pieces, working my way to selenium tests for
end-to-end testing. Which is swell for testing, but for debugging,
having little isolated tests are really a sanity saver.

So, no real answer to your question, I guess. :-)

--
All men are by nature equal, made all of the same earth by one
Workman; and however we deceive ourselves, as dear unto God is the
poor peasant as the mighty prince.
Plato

Paul

unread,
Jul 24, 2008, 4:41:31 AM7/24/08
to model-glue
no it doesn't i am afraid it doesn't but thanks for trying - test
harness and selenium testing i have not even heard of.

anybody else - are we able to see variables from controllers in the
debugger?
Reply all
Reply to author
Forward
0 new messages