[android-beginners] Re: Does the native assert work at all with android emulator?

2008-11-13 Thread Dave Kong
Thanks fadden, I've given this a try using adb shell setprop dalvik.vm.enableassertions all, but the assert is still not firing. The precise order in which I performed the operations are: 1) launch debug from eclipse. 2) after emulator is up, run adb command from shell and set property as

[android-beginners] Re: Does the native assert work at all with android emulator?

2008-11-13 Thread Nick
: Does the native assert work at all with android emulator? Thanks fadden, I've given this a try using adb shell setprop dalvik.vm.enableassertions all, but the assert is still not firing. The precise order in which I performed the operations are: 1) launch debug from eclipse. 2

[android-beginners] Re: Does the native assert work at all with android emulator?

2008-11-07 Thread fadden
On Nov 5, 10:28 am, Dave Kong [EMAIL PROTECTED] wrote: My asserts in android code never fires even with -ea option for my java runtime (set in eclipse). From this old post back in 2007, it seems to indicate that assert won't work, and it suggests Assert class in junit