cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Joseph <pjos...@gmail.com>
Subject Re: putting flowscript in a debugger
Date Mon, 25 Jan 2010 17:02:54 GMT
It seems the same other than the pictures...

Also, the configuration in 2.1.11 seems different--the "how to" page said:

<flow-interpreters default="JavaScript" logger="flow">
	<component-instance name="JavaScript"
		class="org.apache.cocoon.components.flow.javascript.JavaScriptInterpreter">
		  <load-on-startup>resource://org/apache/cocoon/components/flow/javascript/system.js</load-on-startup>
		  <reload-scripts>true</reload-scripts>
		  <check-time>4000</check-time>
		  *<debugger>enabled</debugger>*  <!-- JavaScript Debugger support -->
	</component-instance>
</flow-interpreters>

whereas the cocoon.xconf says:
		


  <flow-interpreters default="javascript" logger="flow">
    <!-- FOM (Flow Object Model) -->
    <component-instance 
class="org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter" 
name="javascript">
      
<load-on-startup>resource://org/apache/cocoon/components/flow/javascript/fom/fom_system.js</load-on-startup>
      <reload-scripts>${javascript.reload-scripts}</reload-scripts>
      <check-time>${javascript.check-time}</check-time>
      <debugger>enabled</debugger>   <!-- JavaScript Debugger support -->
    </component-instance>


Robby Pelssers wrote:
> Maybe read through
> http://cocoon.apache.org/2.1/howto/howto-flow-debugger.html  and see if
> there are any differences.
>
> Cheers,
> Robby Pelssers
>
> -----Original Message-----
> From: Paul Joseph [mailto:pjoseph@gmail.com] 
> Sent: Monday, January 25, 2010 5:44 PM
> To: users@cocoon.apache.org
> Subject: Re: putting flowscript in a debugger
>
> The instructions here do not seem to do anything:  
> http://cocoon.apache.org/2.0/howto/howto-flow-debugger.html
>
>
>
> Paul Joseph wrote:
>   
>> Hi,
>>
>> Are there any detailed instructions on how to put flowscript into a 
>> debugger? I am using Cocoon 2.1.11 and it has been *very* frustrating 
>> to work without the ability to trace the code.
>> I see this as a key limitation I am facing at present.
>>
>> The instructions provided here do not seem to work for me...the 
>> application loads as before and no debugging frame/view is visible.
>>
>> thx
>> Paul
>>
>>     
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message