Skip to Content

Debugging of Additional Properties

Hello community,

I have a little question here. Is there a way to debug additional properties java script functionality within Design Studio 1.3? For example there is a way to debug component.js within the browser. But what is about Design Studio and additional properties?



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Dec 11, 2014 at 03:32 PM

    As you probably found out, DS will suppress JavaScript errors in APS and a lot of times in the design canvas.

    I have 2 crude methods that I use.

    For the APS (Additional Properties Sheet), you can right-click -> Properties, grab the URL, and open in a standard browser however no properties will be set/get since that happens with special attached functions in the embedded browser in DS. In other words, functions are not fired like 'componentSelected' and your setter/getter properties won't fire of course. You'd have to simulate those events manually in your JS Console in F12 tools. That's one approach depending on what you are debugging.

    Another more crude method is wrapping try{ }catch(e){alert(e);} around code that you suspect is problematic.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 11, 2014 at 03:58 PM

    Thanks Michael,

    my previous solution has also been the usage of alerts. I just thought probably there is a better and more comfortable way to do that.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.