If you are using Internet Explorer, please remove blackberry.com from your compatibility view settings.

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
Contributor
jwalseth
Posts: 16
Registered: ‎07-13-2011
My Device: BlackBerry Monaco
My Carrier: Verizon

Where do core dumps go?

I am running unit test exes in  Developer sandbox.  Where the core dumps are stored?

Please use plain text.
BlackBerry Development Advisor (Retired)
cdamus
Posts: 45
Registered: ‎10-25-2010
My Device: Bold 9700
My Carrier: Rogers

Re: Where do core dumps go?

Core dumps are created in the logs/ directory in the application's sandbox.

HTH,

Christian
Please use plain text.
Contributor
jwalseth
Posts: 16
Registered: ‎07-13-2011
My Device: BlackBerry Monaco
My Carrier: Verizon

Re: Where do core dumps go?

devuser (aka, Developer) does not have logs folder.  I added logs folder but after crash and core dump nothing is in there.  Thanks.

Please use plain text.
BlackBerry Development Advisor (Retired)
cdamus
Posts: 45
Registered: ‎10-25-2010
My Device: Bold 9700
My Carrier: Rogers

Re: Where do core dumps go?

You don't have to create the logs folder. Look in the application's sandbox directory, not the devuser home directory.
Please use plain text.
Contributor
jwalseth
Posts: 16
Registered: ‎07-13-2011
My Device: BlackBerry Monaco
My Carrier: Verizon

Re: Where do core dumps go?

These are not apps packaged\launched from IDE.  They are exes cross-compiled for QNX with makefile, copied onto device, under devuser, and run from that location.

Please use plain text.
BlackBerry Development Advisor
elena_laskavaia
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Re: Where do core dumps go?

Why would do such nasty hack? You cannot access you core file in this case.

Please use plain text.
Contributor
jwalseth
Posts: 16
Registered: ‎07-13-2011
My Device: BlackBerry Monaco
My Carrier: Verizon

Re: Where do core dumps go?

I could not get gtest (Google unit test framework) to build successfully in the IDE. Anyway want to build and execute tests from command line (and capture std output), which may be possible with managed application but that was not clear.
Please use plain text.
BlackBerry Development Advisor
elena_laskavaia
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Re: Where do core dumps go?

You can create a makefile project in IDE that would simply call make.

 

Alternatively you use you own project but create a build configuration which is same as Device-Debug

but in assets section of bar-descriptor specify diffrent binary (I am not sure how exaclty you suppose to run those)

Please use plain text.