Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 01-14-2010, 04:36 PM   #43 (permalink)
F.R.E.E.
Registered Member
 
Join Date: May 2009
Posts: 72
F.R.E.E. is on a distinguished road
Default

I am having strange problems with the following preprocessor commands

Code:
#if TARGET_IPHONE_SIMULATOR || defined(DEBUG) || (!defined(NS_BLOCK_ASSERTIONS) && !defined(NDEBUG))
    return;
#endif
when compiled in release mode and run on the device, I still hit the return code, and the debugger check is effectively disabled.

If I comment out the return statement
Code:
#if TARGET_IPHONE_SIMULATOR || defined(DEBUG) || (!defined(NS_BLOCK_ASSERTIONS) && !defined(NDEBUG))
//    return;
#endif
then the debugger check is executed.

Anyone else have this issue?
F.R.E.E. is offline   Reply With Quote
 

» Advertisements
» Online Users: 451
16 members and 435 guests
baja_yu, David-T, edvaniojancy, esoteric, HemiMG, iGuessSo, ilmman, jimmyon122, malaki1974, mediaspree, PixelEnvision, RickSDK, shigaugi, Sloshmonster, speed4mee, thebeast
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,431
Threads: 94,026
Posts: 402,587
Top Poster: BrianSlick (7,978)
Welcome to our newest member, edvaniojancy
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:13 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.