You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2008/01/24 18:54:37 UTC

[jira] Created: (SLING-193) Rhino debugger for server-side javascript

Rhino debugger for server-side javascript
-----------------------------------------

                 Key: SLING-193
                 URL: https://issues.apache.org/jira/browse/SLING-193
             Project: Sling
          Issue Type: Improvement
          Components: Scripting
            Reporter: Bertrand Delacretaz
            Priority: Minor


Integrate the Rhino debugger (http://www.mozilla.org/rhino/debugger.html), for server-side ESP and JS scripts

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-193) Rhino debugger for server-side javascript

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563027#action_12563027 ] 

Felix Meschberger commented on SLING-193:
-----------------------------------------

While it certainly is a nice addition, I have some reservations because running a GUI application on the server side is problematic - unless the server happens to be your own box ...

Therefore I would see this rather as a temporary fix for short-term issues debugging server side JavaScript.

In this respect the TODO is not a better configuration mechanism but a better debugging implementation ;-)

> Rhino debugger for server-side javascript
> -----------------------------------------
>
>                 Key: SLING-193
>                 URL: https://issues.apache.org/jira/browse/SLING-193
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> Integrate the Rhino debugger (http://www.mozilla.org/rhino/debugger.html), for server-side ESP and JS scripts

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-193) Rhino debugger for server-side javascript

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563063#action_12563063 ] 

Bertrand Delacretaz commented on SLING-193:
-------------------------------------------

I agree that having a server-side GUI debugger is not optimal...but it's better than nothing! Improvements are welcome of course.

> Rhino debugger for server-side javascript
> -----------------------------------------
>
>                 Key: SLING-193
>                 URL: https://issues.apache.org/jira/browse/SLING-193
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> Integrate the Rhino debugger (http://www.mozilla.org/rhino/debugger.html), for server-side ESP and JS scripts

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (SLING-193) Rhino debugger for server-side javascript

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed SLING-193.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: Scripting JavaScript 2.0.2
         Assignee: Bertrand Delacretaz

I think we should close this issue, as the functionality is included in the release Rhino JavaScript bundle 2.0.2

> Rhino debugger for server-side javascript
> -----------------------------------------
>
>                 Key: SLING-193
>                 URL: https://issues.apache.org/jira/browse/SLING-193
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting JavaScript (Rhino)
>    Affects Versions: Scripting JavaScript 2.0.2
>            Reporter: Bertrand Delacretaz
>            Assignee: Bertrand Delacretaz
>            Priority: Minor
>             Fix For: Scripting JavaScript 2.0.2
>
>
> Integrate the Rhino debugger (http://www.mozilla.org/rhino/debugger.html), for server-side ESP and JS scripts

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (SLING-193) Rhino debugger for server-side javascript

Posted by "Bertrand Delacretaz (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SLING-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12562154#action_12562154 ] 

Bertrand Delacretaz commented on SLING-193:
-------------------------------------------

I have committed a first version in revision 614941, tested in the launchpad-webapp for simple cases.

The debugger is activated if the file /tmp/sling.debug exists when starting Sling (yes, a better configuration mechanism is a TODO ;-)

If the debugger is active, it should popup on the host that runs Sling, when running any server-side javascript.

I haven't checked what happens if running many scripts "simultaneously", but it seems to work fine to debug single scripts.

> Rhino debugger for server-side javascript
> -----------------------------------------
>
>                 Key: SLING-193
>                 URL: https://issues.apache.org/jira/browse/SLING-193
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> Integrate the Rhino debugger (http://www.mozilla.org/rhino/debugger.html), for server-side ESP and JS scripts

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (SLING-193) Rhino debugger for server-side javascript

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SLING-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger updated SLING-193:
------------------------------------

          Component/s:     (was: Scripting)
                       Scripting JavaScript (Rhino)
    Affects Version/s: Scripting JavaScript 2.0.2

> Rhino debugger for server-side javascript
> -----------------------------------------
>
>                 Key: SLING-193
>                 URL: https://issues.apache.org/jira/browse/SLING-193
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting JavaScript (Rhino)
>    Affects Versions: Scripting JavaScript 2.0.2
>            Reporter: Bertrand Delacretaz
>            Priority: Minor
>
> Integrate the Rhino debugger (http://www.mozilla.org/rhino/debugger.html), for server-side ESP and JS scripts

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.