Project

General

Profile

Bug #1203

[objc] Crash on debug, when calling 'po' gdb command

Added by Dmitry Moskalchuk over 3 years ago. Updated about 3 years ago.

Status:
Open
Priority:
Normal
Category:
-
Target version:
Start date:
01/06/2016
Due date:
% Done:

0%

Estimated time:
CPU Architecture:
Host OS:
Toolchain:
Android version:
CrystaX Version:

Description

I’m using the latest CrystaX build #778 and Coco2d-x version 3.8.1. I have the Android SDK Tools 24.4.1, if that makes any difference.

I compile using the console command line interface: @cocos compile -p android -m debug --ndk-mode debug@
I debug using the command: @ndk-gdb --verbose --start —nowait@
I set my breakpoint at: HelloWorldScene.mm:102

After the sample app runs, I tap the “Close” icon in the lower-right corner to hit my breakpoint. Then if I type the command “@po string@”, it crashes the debug session.

Sample Hello World app: https://www.dropbox.com/s/esfol90nruqk6ym/hello-world.zip?dl=0

History

#1 Updated by Dmitry Moskalchuk about 3 years ago

  • Priority changed from High to Normal

Also available in: Atom PDF