Skip to Content

Implementing Lumira Data Access Extension

Hello,

I have several questions about developping data access extensions for Lumira:

1) how to debug the UI part? (I can't see any ways to access devtools)

2) after performing some modification on Java code, I have to repackage, remove previous extension version from Lumira, install the new version, restart Lumira, and check... The round trip is huge... there is probably a faster way to test da extension modifications, isn't it?

Regards,

Anthony

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jul 27, 2016 at 03:28 PM

    Hi Anthony,

    There is a way to address point 2, but it doesn't work always. 😭 I'm assuming you have set up the java debug environment set up and the "Build Automatically" option checked under the "Project" tab.

    If you edit the code when you have the debugging enabled in eclipse, you will be able to see the changes reflect in real time. Some pointers:

    1. Sometimes, it doesn't work if you make really huge changes in your files.
    2. A good way to verify if it has worked is to see that when you put a breakpoint to the edited code in Eclipse, it gets a small tick mark which means the code is in sync.

    I had faced similar issues and these were the things I used to do. Also, I don't think this is a problem related to just to DA extension development, but any OSGI plugin development which involves remote debugging.

    Another point for the UI debugging is that you can add this line too to your .ini file

    -Dhilo.cef.cache.enabled=false

    Hope this helps!

    Regards,

    Maaz

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 27, 2016 at 10:36 AM

    Hi,

    For debug UI part, make sure you have enabled the dubug mode for lumira.

    else add this line

    -Dhilo.cef.frame.debug=true in "SAPLumira.ini" file.

    At present you need to fallow entire step, since DA requires packed version which came from java and you need to install that. Not only for DA extension, for any kind of extension ( it may be javascript) we need to restart the Lumira

    Thanks,

    Pradeep

    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.