Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Posts: 44
Registered: ‎11-12-2012
My Device: BB 10 Dev Apha
My Carrier: -
Accepted Solution

Debugging the native part of a Webworks extension

Dear All,

is there a way to debug webworks extensions in order to discover runtime errors?

We often (and randomically) get the common loading error "Require Error Can't find

/usr/lib/etc. Library cannot be found" but we cannot manage how to discover more information about that...

Apart from the error itself, I sadly found out that debbuging is really a pain in this scenario..

Any help or tip from BB guys is really appreciated!

thanks a lot

 

-marco

 

Retired
Posts: 165
Registered: ‎09-24-2012
My Device: Passport
My Carrier: Bell

Re: Debugging the native part of a Webworks extension

Hi Marco, debugging Native Extensions is currently quite difficult, due to their hybrid nature.

 

I typically create a native C++ app first, get it to work, and then make it into a native extension. Have you tried that?

 

Cheers,

A

Contributor
Posts: 44
Registered: ‎11-12-2012
My Device: BB 10 Dev Apha
My Carrier: -

Re: Debugging the native part of a Webworks extension

Hi,

yes, we just started going in that direction.

Thanks a lot

 

-marco