Announcement

Collapse
No announcement yet.

Debugging idea

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Debugging idea

    Hi All,

    Version:5.5 CU3

    I have an XSL file and a javascript file.
    I would require to debug the whole file and see value of a list of variables in the whole files.
    I know it is possible I can do it through 'alert' statement.
    Can anyone tell me,is there any other way we can debug line by line and easier,like we have in any other language(step into like)?

    Regards,
    Nikesh.

  • #2
    Re: Debugging idea

    I think there is no other way other than selcting the value and display it and see....either through javascript or displaying on the screen.

    Comment


    • #3
      Re: Debugging idea

      I think we can use log4j for javascript to debug the javascript files. This log4j javascript contains 2 .js files which needs to be included int he file structure and import the js files in the page and write the log statement as "cLogger.info('Ending....');" which will open a new window with all the statements.

      Comment

      Working...
      X