Re: Flow debugger support checked in

2002-12-11 Thread Marcus Crafter
On Sat, Dec 07, 2002 at 03:08:26PM -0800, Stefano Mazzocchi wrote:
> Holy cow! that rocks the planet!

Thanks! :)

> Marcus, could you please write a little howto on how to set it up for 
> somebody (me!) that has *no idea* on where to find the Rhino Visual 
> debugger?

Sure, I've just checked in a howto that describes how to enable
and start the debugger in greater detail than my recent email.
I'll endevour to keep the document up to date.

(If someone could review it for me that would be great).

Cheers,

Marcus

-- 
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   ManageSoft GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_'
  .
&&&:

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Flow debugger support checked in

2002-12-08 Thread Ross Gardler


Christopher Oliver wrote:

After you get it running, here's a link to some documentation for using 
it: http://www.mozilla.org/rhino/debugger.html.

Regards,

Chris

Stefano Mazzocchi wrote:

Marcus Crafter wrote:


Hi All,

Hope all is well.
I've just checked-in support for using the Rhino JavaScript 
debugger
with Cocoon flow.
   
Cheers,
Marcus


Holy cow! that rocks the planet!

Marcus, could you please write a little howto on how to set it up for 
somebody (me!) that has *no idea* on where to find the Rhino Visual 
debugger?

I'm sure tons of other people will appreciate as well. Don't let your 
work go wasted because nobody is able to do what you can do.

Thanks much much much :)

Exactly what I needed right now (at least I think so not tried to get it 
working yet) - thanks Marcus.

I've copied the text of the original mail, together with the 
documentation link (thanks Christopher) to the Wiki, please add an more 
notes on it's set up there 
(http://outerthought.net/wiki/Wiki.jsp?page=DebugFlowScripts) - this 
*has* to go into the documentation.

Ross







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Flow debugger support checked in

2002-12-07 Thread Ovidiu Predescu
Great stuff, Marcus!! You've done a really great job!

Cheers,
Ovidiu

On Saturday, Dec 7, 2002, at 14:15 US/Pacific, Marcus Crafter wrote:


Hi All,

	Hope all is well.
	
	I've just checked-in support for using the Rhino JavaScript debugger
	with Cocoon flow.
	
	The Rhino debugger is a visual debugger that allows you to set break
	points, step in and out of functions, watch global and local  
variables,
	and generally is really useful for debugging and watching what is
	happening inside of your flowscript.
	
	By default, the debugger is disabled, to enable it, add/comment-in
	the  element in your flow.xconf/cocoon.xconf file, eg:
	

 
class="org.apache.cocoon.components.flow.javascript.JavaScriptInterpret 
er">
   
resource://org/apache/cocoon/components/flow/ 
javascript/system.js
  true
  4000
  enabled  


	When the  element is present, all threads that create
	a javascript interpreter will operate via a Rhino visual debugger
	instance.
	
	An example screenshot of what this looks like is available at
	http://cvs.apache.org/~crafterm/debugger.jpg
	
	Well, so far testing in my environment with the flow examples has
	proved successful, so hopefully others also find it of use, if there's
	any problems/comments/sugguestions, please feel free to let me know.
	
	Last but not least, a big thank you to Yaar Schnitman and
	Christopher Oliver for their help with the Rhino debugging API's.
	
	Cheers,
	
	Marcus

--
.
 ,,$,  Marcus Crafter
;$'  ':Computer Systems Engineer
$: :   ManageSoft GmbH
 $   o_)$$$:   82-84 Mainzer Landstrasse
 ;$,_/\ &&:'   60327 Frankfurt Germany
   ' /( &&&
   \_'
  .
&&&:

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Flow debugger support checked in

2002-12-07 Thread Christopher Oliver
After you get it running, here's a link to some documentation for using 
it: http://www.mozilla.org/rhino/debugger.html.

Regards,

Chris

Stefano Mazzocchi wrote:

Marcus Crafter wrote:


Hi All,

Hope all is well.

I've just checked-in support for using the Rhino JavaScript debugger
with Cocoon flow.


Cheers,

Marcus


Holy cow! that rocks the planet!

Marcus, could you please write a little howto on how to set it up for 
somebody (me!) that has *no idea* on where to find the Rhino Visual 
debugger?

I'm sure tons of other people will appreciate as well. Don't let your 
work go wasted because nobody is able to do what you can do.

Thanks much much much :)




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




Re: Flow debugger support checked in

2002-12-07 Thread Stefano Mazzocchi
Marcus Crafter wrote:

Hi All,

	Hope all is well.
	
	I've just checked-in support for using the Rhino JavaScript debugger
	with Cocoon flow.
	
	The Rhino debugger is a visual debugger that allows you to set break
	points, step in and out of functions, watch global and local variables,
	and generally is really useful for debugging and watching what is 
	happening inside of your flowscript.
	
	By default, the debugger is disabled, to enable it, add/comment-in
	the  element in your flow.xconf/cocoon.xconf file, eg:
	

class="org.apache.cocoon.components.flow.javascript.JavaScriptInterpreter">
  resource://org/apache/cocoon/components/flow/javascript/system.js
  true
  4000
  enabled  


	When the  element is present, all threads that create
	a javascript interpreter will operate via a Rhino visual debugger 
	instance.
	
	An example screenshot of what this looks like is available at
	http://cvs.apache.org/~crafterm/debugger.jpg
	
	Well, so far testing in my environment with the flow examples has
	proved successful, so hopefully others also find it of use, if there's
	any problems/comments/sugguestions, please feel free to let me know.
	
	Last but not least, a big thank you to Yaar Schnitman and
	Christopher Oliver for their help with the Rhino debugging API's.
	
	Cheers,
	
	Marcus


Holy cow! that rocks the planet!

Marcus, could you please write a little howto on how to set it up for 
somebody (me!) that has *no idea* on where to find the Rhino Visual 
debugger?

I'm sure tons of other people will appreciate as well. Don't let your 
work go wasted because nobody is able to do what you can do.

Thanks much much much :)

--
Stefano Mazzocchi   <[EMAIL PROTECTED]>




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]