Skip to Content

Use browser debugging tools in the NWBC side panel?

Hi,

I've had a bit of a dig but couldn't find any information on if it is possible to use the IE developer tools within the NWBC side panel. We are developing some SAPUI5 side panels for NWBC and it would be nice to be able to use the developer tools to interactively debug the application as it is running in the NWBC side panel. So far the best we could think of was to use javascript alerts - but that's a bit clunky.

I suppose we can always run the application directly in the browser but then we don't have access to the NWBC data context.

If any one has any experience or suggestions please let me know.

Thanks,

Simon

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Dec 16, 2014 at 09:14 AM

    Back on to this again... more broadly I'd like to re-frame the question to "How can we debug Javascript in NWBC?"

    My understanding is that NWBC (desktop) uses the WebBrowser control from Internet Explorer. I have come across this web page that describes a technique to debug Javascript in the WebBrowser control, but I wonder if it would work for NWBC desktop

    http://blogs.perl.org/users/mark_leighton_fisher/2011/09/debugging-javascript-in-a-webbrowser-control-from-vs2010.html

    Can anyone help? (cc. Former Member @Claudia Binder@Julie Plummer

    @Julie Plummer

    @Julie Plummer

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 18, 2014 at 12:51 AM

    Hi Simon and Thomas,

    Thanks for providing the solution for this. I've documented the steps in a blog here: JavaScript Debugging in NWBC


    Cheers,

    Brad

    Add comment
    10|10000 characters needed characters exceeded