cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging/Refreshing Additional properties sheet in Lumira designer

davidgbarbero
Participant
0 Kudos

Hello all,

I am currently developing a custom sdk component and I'm fighting now with the additional properties sheet. I am going completely crazy because for every small change I make, I have to restart the lumira client... I tried setting the debug mode in the lumira client and pressing f5 or refreshing sdk extensions with no luck.

Is there any way of debugging / refreshing the additional properties sheet (js and html)?

Thank you very much in advance.

Accepted Solutions (0)

Answers (4)

Answers (4)

davidgbarbero
Participant
0 Kudos

Thanks a lot for your help Reiner!

I'm able to attach some javaw.exe processes, but I don't really see any code that I can debug... How can I find the scripts?

Also the context menu doesn't appear in the APS page, I guess it is because we are using a sapui5 page embedded and the ie context menu is lost...

Also, I'm wondering why I am unable to run the debug mode of the Lumira Designer client. I sometimes am able to start it (by pressing CTRL + ALT + SHIFT + D), but many times I can't, no matter how many times i press the keys... I am forced to close the client and start it over again from Eclipse to find sometimes that it doesn't work either... Do you know why sometimes it works, and sometimes it doesn't?

Thank you again for your help!

reiner_hille-doering
Active Contributor
0 Kudos

Another tip - for reloading the APS page after you have cleaned browser cache you can also use IE's context menu "Refresh" - at least if you don't have deactivated the standard right-click context menu.

reiner_hille-doering
Active Contributor
0 Kudos

For Visual Studio debugging you need to Internet Explorer's "Internet Options". In the "Advanced" tab you find the options "Disable Script Debugging (Internet Explorer)" and "Disable Script Debugging (other)". Uncheck both and restart Designer.

Then if App and Additional Properties View are open, start Visual Studio. Click Tools->Attach to Process... and find SapLumiraDesigner.exe/SapLumiraDesignerVM.exe/Javaw.exe - depending how exactly your target Designer is started. You should be able to attach with type "Script".

reiner_hille-doering
Active Contributor
0 Kudos

Hello David,

there is never a need to restart Designer during Development. Just open an Internet Explorer and press Ctrl+Shift+Del. In my settings I have the first 4 checkboxes checked - but maybe it also works with other settings.

You might need to navigate away to another component and back to your component to refresh the embedded IE - or in worst case close the Additional Properties View and bring it back.

Debugging inside of Designer is possible with Visual Studio (not VS Code). Express or Community editions should be fine.

Debugging outside of Designer (e.g. in Chrome) is not possible out of the box. Some partners have created a kind of test-bed that run both, SDK Component and Addtional Properties View - in a static HTML page with some wirering of firePropertiesChanged and property setters/getters.

Good luck,

Reiner.

davidgbarbero
Participant
0 Kudos

Thank you very much for you fast answer Reiner :))

I tried the internet explorer trick and it worked! I have to close and open again the APS view, but nevertheless it's a very big step forward.

I also would like to know a bit more about debugging with VisualStudio. Could you please give me some hints about how to start with it? Or do you have any link with documentation you can provide me with?

I already downloaded and install VisualStudio community edition 🙂

Thanks a lot!