Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with larger projects #58

Open
jcward opened this issue May 17, 2017 · 2 comments
Open

Test with larger projects #58

jcward opened this issue May 17, 2017 · 2 comments

Comments

@jcward
Copy link
Owner

jcward commented May 17, 2017

All of my tests are very simple sample projects. It'd be nice to test debugging on a more significant hxcpp project. Maybe pirate pig, maybe hxscout, maybe others?

@JohnSword
Copy link

hello, I've been testing with my port of the liquidfun physics lib but alhtough it hits the first break point as soon as I press continue to try and catch the second breakpoint it just dies.

I get the following error code, maybe it helps:

System Integrity Protection: enabled

Crashed Thread: 5

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x000070000042bff0
Exception Note: EXC_CORPSE_NOTIFY

VM Regions Near 0x70000042bff0:
Stack 00007000003a9000-000070000042b000 [ 520K] rw-/rwx SM=COW thread 4
--> STACK GUARD 000070000042b000-000070000042c000 [ 4K] ---/rwx SM=NUL stack guard for thread 5
Stack 000070000042c000-00007000004ae000 [ 520K] rw-/rwx SM=COW thread 5

Thread 0:: Dispatch queue: com.apple.main-thread
0 com.haxeflixel.FlxProject 0x0000000106c720e9 box2d::particle::ParticleSystem_obj::solveZombie() + 12857 (ParticleSystem.cpp:2234)
1 com.haxeflixel.FlxProject 0x0000000106c6d02c box2d::particle::ParticleSystem_obj::solve(hx::ObjectPtrbox2d::dynamics::TimeStep_obj) + 1276 (ParticleSystem.cpp:1242)
2 com.haxeflixel.FlxProject 0x0000000106de9036 box2d::dynamics::World_obj::step(double, int, int) + 2838 (World.cpp:921)
3 com.haxeflixel.FlxProject 0x0000000106fd4d89 TestbedTest_obj::step() + 1113 (TestbedTest.cpp:610)
4 com.haxeflixel.FlxProject 0x0000000106b9b74d controllers::DrawingParticles_obj::step() + 157 (DrawingParticles.cpp:197)
5 com.haxeflixel.FlxProject 0x0000000107001570 TestbedController_obj::updateTest() + 288 (TestbedController.cpp:458)
6 com.haxeflixel.FlxProject 0x0000000107004026 TestbedController_obj::stepAndRender(Dynamic) + 1238 (TestbedController.cpp:681)
7 com.haxeflixel.FlxProject 0x0000000107004300 __TestbedController_objstepAndRender(hx::Object*, Dynamic const&) + 64 (TestbedController.cpp:691)
8 com.haxeflixel.FlxProject 0x0000000107189314 hx::CMemberFunction1::__run(Dynamic const&) + 68 (DynamicImpl.h:151)
9 com.haxeflixel.FlxProject 0x00000001066ca5ed Dynamic::operator()(Dynamic const&) + 93 (Dynamic.h:301)

@jcward
Copy link
Owner Author

jcward commented May 30, 2017

Hi @JohnSword, thanks for the note. I'll try playing with your examples.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants