Skip to Content
avatar image
Former Member

How to debug javascript function which is defined in .xsjslib?

I am facing an issue with debugging a javascript function which is defined and implemented in .xsjslib file. I am using SAP HANA web based development workbench tools trail version.

how to attach function defiined in .xsjslib to .xsjs file?

Please help me

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Nov 07, 2017 at 02:32 PM

    What is your question here? Are you asking for debugging a function in an xsjslib or how you can use an xsjslib function in your xsjs service?

    Regarding the debugging: Debugging of functions in a xsjslib is possible, but the functions have to be called from an xsjs service, because an xsjslib function is not executable standalone. So set your breakpoint in the xsjslib function and then call the xsjs service in which you have called the function. The debugger stops then on the defined breakpoint (if everything else regarding debugging is configured correctly in your system).

    Regards,
    Florian

    Add comment
    10|10000 characters needed characters exceeded