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

Native Development

Reply
Developer
simon_hain
Posts: 15,872
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Debugging in a shared library

I have the following project setup:

-headless

-shared

-ui

 

the ui project has "Project References" to both headless and shared.

 

I have an issue in a class from the ui project and set a breakpoint there. The debugger correctly stops at the breakpoint, but when i try to inspect the parameter it shows only a memory address for the pointer, not the contents of the class.

If i try to set a breakpoint inside the class (Recurrence) i get an error in the debug log: No source file named Recurrence.cpp

 

The issue is limited to the debugger, the code itself runs fine and checks the attributes of the recurrence pointer.

(I can output the attributes using qDebug or use them in if/else clauses etc)

 

I have cleaned all projects, deleted the project from the device and reconnected the device anew using the wizard. Now i am kind of out of ideas what i could change to get it to work.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.
Developer
BBSJdev
Posts: 5,987
Registered: ‎07-05-2012
My Device: Playbook, Z10 LE, Dev Alpha C
My Carrier: Orange

Re: Debugging in a shared library

Are all 3 parts built with debug turned on?


If you've been helped click on Like Button, if you've been saved buy the app. :smileyhappy:

Developer of stokLocker, Sympatico and Super Sentences.
Please use plain text.
Developer
simon_hain
Posts: 15,872
Registered: ‎07-29-2008
My Device: Z10 LE
My Carrier: O2 Germany

Re: Debugging in a shared library

All three projects have "Device-Debug" as their active configuration and were built with that.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Please use plain text.