Bereiche
News
Rewind
Tipps & Berichte
Forum
Galerie
Journals
Events
Umfragen
Themenwoche
Kleinanzeigen
Interaktiv
Anmelden
Registrierung
Zu allen empfangenen Nachrichten
Suche...
Zur erweiterten Suche
Push-Nachrichten von MacTechNews.de
Würden Sie gerne aktuelle Nachrichten aus der Apple-Welt direkt über Push-Nachrichten erhalten?
Forum
>
Entwickler
>
XCode zur nur assembler im Debugger an
XCode zur nur assembler im Debugger an
seaside
18.08.06
22:10
Mein Debugger zeigt nur noch Assembly, nicht aber Source Code an.
Ich weiss nicht, was ich verstellt habe. Jemand eine Idee?
Symbole sind aktiviert, Optimierung jeder Art ist aus....
Hilfreich?
0
Kommentare
Rantanplan
18.08.06
22:12
Der Debugger in XCode?
„Wenn ich nicht hier bin, bin ich auf dem Sonnendeck“
Hilfreich?
0
seaside
18.08.06
22:16
yes!
Hilfreich?
0
Rantanplan
18.08.06
22:20
Hm. Keine Optimierung, Symbole aktiviert. Da fällt mir spontan jetzt auch nix dazu ein...
„Wenn ich nicht hier bin, bin ich auf dem Sonnendeck“
Hilfreich?
0
rowkajjh
18.08.06
22:48
seaside<br>
Mein Debugger zeigt nur noch Assembly, nicht aber Source Code an.
Ich weiss nicht, was ich verstellt habe. Jemand eine Idee?
Symbole sind aktiviert, Optimierung jeder Art ist aus....
Wenn das Programm abstürzt oder wenn Du einen Brechpunkt setzt und das Programm anhält?
Wenn erstes:
Biste denn sicher, daß es in Deinem Code kracht? Vielleicht Speicher überschrieben, kann kan nes ganz woanders krachen. Eklig zu debuggen.
Da hilft nur Schritt für Schritt.
Schreib mal mehr...
Hilfreich?
0
seaside
19.08.06
01:53
rowkajjh<br>
Wenn das Programm abstürzt oder wenn Du einen Brechpunkt setzt und das Programm anhält?
Wenn erstes:
Biste denn sicher, daß es in Deinem Code kracht? Vielleicht Speicher überschrieben, kann kan nes ganz woanders krachen. Eklig zu debuggen.
Da hilft nur Schritt für Schritt.
Schreib mal mehr...
Schlimmer noch. Der Debugger läuft über alle Breakpoints hinweg. Wenn ich es dann explizit anhalte, erscheint nur Assembler...Auch wenn ich Step out/over etc. ausführen. Schlicht und einfach immer Assembler
Hilfreich?
0
seaside
19.08.06
01:54
Ach ja, bei einem Debug() call hält es an, aber auch mit Assembler
Hilfreich?
0
rowkajjh
19.08.06
10:12
Und Du baust auch den Debug-Build?
Hilfreich?
0
Christian Fries
19.08.06
10:54
Das was Du debugst hat keine Symbole drin.
Menu
Project
Set Active Target,
Project
Set Active Build,
Project
Set Active Executable
Hilfreich?
0
seaside
19.08.06
13:06
Doch, es ist der debug build. Und in dem habe ich symbole aktiviert.
OK, ich such weiter...
Hilfreich?
0
seaside
19.08.06
14:09
Das sind meine Settings
Hilfreich?
0
Christian Fries
20.08.06
15:43
Wie steht es mit Strip Debug Symbols (z.B. unter Collection: Depolyment) - dann werden die Symbole rausgestipped.
Hilfreich?
0
seaside
20.08.06
16:37
Oh, gute Hinweis., Werde ich umgehend ansehen
Hilfreich?
0
seaside
20.08.06
17:04
Ich werde noch irre... Auch mit diesen Settings sehe ich nur Assembler, selbst bei einem Break, der druch Debugger() ausgelöst wurde. Breakpoints werden noch immer ignoriert.
Sollte das Projekt vielleicht einfach neu erzeugen
Hilfreich?
0
seaside
20.08.06
17:11
Ich versuch's jetzt mal anders herum...
Ich möchte diese Exception abfangen:
2006-08-20 15:05:54.315 app[14690] *** -[NSCFNumber length]: selector not recognized [self = 0x308480]
Gibt es dazu irgendeine Möglichkeit, den Debugger anzuhalten, wenn dieses Problem auftritt?
Hilfreich?
0
seaside
20.08.06
17:30
OK, ich habe das Problem gefunden. Scheinbar gibt es im AB eine neue Property @"com.apple.speech.ABSpeakable", die ich in der Dokumentation nicht gefunden habe.
Das Problem mit dem Assembler Code besteht aber leider weiter...
Hilfreich?
0
Christian Fries
20.08.06
23:39
Du kannst in dem Settings Fenster "Select-All" und "Copy" machen und dann in einen Texteditor pasten. Vergleich doch mal Deine Settings (wenn Du "All Settings wählst) mit meinen:
ARCHS = i386 ppc
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
SYMROOT = build
OBJROOT = $(SYMROOT)
CONFIGURATION_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)
CONFIGURATION_TEMP_DIR = $(PROJECT_TEMP_DIR)/$(CONFIGURATION)
SHARED_PRECOMPS_DIR = $(CACHE_ROOT)/SharedPrecompiledHeaders
HEADER_SEARCH_PATHS =
USER_HEADER_SEARCH_PATHS =
LIBRARY_SEARCH_PATHS =
FRAMEWORK_SEARCH_PATHS = /Users/fries/Documents/Development/Serial\ Mail/Frameworks /Users/fries/Documents/Development/Serial\ Mail
REZ_SEARCH_PATHS =
ALWAYS_SEARCH_USER_PATHS = YES
VERSIONING_SYSTEM =
CURRENT_PROJECT_VERSION =
BUILD_VARIANTS = normal
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
GENERATE_PROFILING_CODE = NO
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
MACH_O_TYPE = mh_execute
INIT_ROUTINE =
PREBINDING = YES
ZERO_LINK = NO
LINK_WITH_STANDARD_LIBRARIES = YES
KEEP_PRIVATE_EXTERNS = NO
EXPORTED_SYMBOLS_FILE =
UNEXPORTED_SYMBOLS_FILE =
SEPARATE_SYMBOL_EDIT = NO
BUNDLE_LOADER =
DYLIB_CURRENT_VERSION =
DYLIB_COMPATIBILITY_VERSION =
SECTORDER_FLAGS =
DEAD_CODE_STRIPPING = NO
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
ONLY_LINK_ESSENTIAL_SYMBOLS = NO
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINKER_DISPLAYS_FILES_FOR_UNDEFINED_SYMBOLS = YES
WARNING_LDFLAGS =
OTHER_LDFLAGS =
GENERATE_MASTER_OBJECT_FILE = NO
PRELINK_LIBS =
PRELINK_FLAGS =
PRODUCT_NAME = "Serial Mail"
EXECUTABLE_PREFIX =
EXECUTABLE_EXTENSION =
WRAPPER_EXTENSION = app
PRIVATE_HEADERS_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/PrivateHeaders
PUBLIC_HEADERS_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/Headers
GENERATE_PKGINFO_FILE = YES
INFOPLIST_FILE = Info.plist
INFOPLIST_PREPROCESS = NO
INFOPLIST_PREFIX_HEADER =
INFOPLIST_PREPROCESSOR_DEFINITIONS =
INFOPLIST_OTHER_PREPROCESSOR_FLAGS =
COPYING_PRESERVES_HFS_DATA = NO
FRAMEWORK_VERSION = A
MACOSX_DEPLOYMENT_TARGET = 10.4
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DSTROOT = /tmp/$(PROJECT_NAME).dst
INSTALL_PATH = "$(HOME)/Applications"
SKIP_INSTALL = NO
STRIP_INSTALLED_PRODUCT =
SEPARATE_STRIP = NO
STRIP_STYLE = all
STRIPFLAGS =
COPY_PHASE_STRIP = YES
INSTALL_OWNER = $(USER)
INSTALL_GROUP = $(GROUP)
INSTALL_MODE_FLAG = a-w,a+rX
ALTERNATE_PERMISSIONS_FILES =
ALTERNATE_OWNER = $(INSTALL_OWNER)
ALTERNATE_GROUP = $(INSTALL_GROUP)
ALTERNATE_MODE = $(INSTALL_MODE_FLAG)
TEST_HOST =
TEST_RIG =
GCC_INPUT_FILETYPE = automatic
GCC_C_LANGUAGE_STANDARD = compiler-default
GCC_CHAR_IS_UNSIGNED_CHAR = NO
GCC_ENABLE_ASM_KEYWORD = YES
GCC_ENABLE_TRIGRAPHS = NO
GCC_ENABLE_CPP_EXCEPTIONS = YES
GCC_ENABLE_CPP_RTTI = YES
GCC_ENABLE_OBJC_EXCEPTIONS = NO
GCC_NO_NIL_RECEIVERS = NO
GCC_ENABLE_PASCAL_STRINGS = YES
GCC_SHORT_ENUMS = NO
GCC_ONE_BYTE_BOOL = NO
GCC_ALTIVEC_EXTENSIONS = NO
GCC_CW_ASM_SYNTAX = YES
GCC_PREFIX_HEADER = $(PREFIX_HEADER)
GCC_PRECOMPILE_PREFIX_HEADER = $(PRECOMPILE_PREFIX_HEADER)
OTHER_CFLAGS =
OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS)
GCC_USE_GCC3_PFE_SUPPORT = $(USE_GCC3_PFE_SUPPORT)
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
GCC_DEBUGGING_SYMBOLS = default
GCC_ENABLE_SYMBOL_SEPARATION = YES
GCC_OPTIMIZATION_LEVEL = s
GCC_NO_COMMON_BLOCKS = NO
GCC_REUSE_STRINGS = YES
GCC_DYNAMIC_NO_PIC = YES
GCC_FAST_OBJC_DISPATCH = NO
GCC_UNROLL_LOOPS = NO
GCC_FAST_MATH = NO
GCC_STRICT_ALIASING = NO
GCC_MODEL_TUNING = G4
GCC_MODEL_PPC64 = NO
GCC_AUTO_VECTORIZATION = NO
GCC_ENABLE_SSE3_EXTENSIONS = NO
GCC_FEEDBACK_DIRECTED_OPTIMIZATION = Off
GCC_SYMBOLS_PRIVATE_EXTERN = YES
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_ENABLE_FIX_AND_CONTINUE = NO
GCC_USE_NASM_FOR_ASM_FILETYPE = NO
GCC_OBJC_CALL_CXX_CDTORS = NO
GCC_THREADSAFE_STATICS = YES
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
GCC_GENERATE_TEST_COVERAGE_FILES = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = NO
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO
GCC_WARN_ABOUT_RETURN_TYPE = NO
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO
GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = NO
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO
GCC_WARN_MISSING_PARENTHESES = NO
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO
GCC_WARN_UNUSED_FUNCTION = NO
GCC_WARN_UNUSED_LABEL = NO
GCC_WARN_UNUSED_PARAMETER = NO
GCC_WARN_UNUSED_VARIABLE = NO
GCC_WARN_UNUSED_VALUE = NO
GCC_WARN_UNINITIALIZED_AUTOS = NO
GCC_WARN_UNKNOWN_PRAGMAS = NO
GCC_WARN_INHIBIT_ALL_WARNINGS = NO
GCC_WARN_PEDANTIC = NO
GCC_WARN_SHADOW = NO
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO
GCC_WARN_SIGN_COMPARE = NO
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES
GCC_WARN_ABOUT_MISSING_NEWLINE = NO
WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO
GCC_PREPROCESSOR_DEFINITIONS =
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS =
Hilfreich?
0
Christian Fries
20.08.06
23:42
Obiges war der "Default" build. Zur Sicherheit: Das sind meine Settings des "Development" build, der sich Debuggen lässt:
ARCHS = ppc
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk
SYMROOT = build
OBJROOT = $(SYMROOT)
CONFIGURATION_BUILD_DIR = $(BUILD_DIR)/$(CONFIGURATION)
CONFIGURATION_TEMP_DIR = $(PROJECT_TEMP_DIR)/$(CONFIGURATION)
SHARED_PRECOMPS_DIR = $(CACHE_ROOT)/SharedPrecompiledHeaders
HEADER_SEARCH_PATHS =
USER_HEADER_SEARCH_PATHS =
LIBRARY_SEARCH_PATHS =
FRAMEWORK_SEARCH_PATHS = /Users/fries/Documents/Development/Serial\ Mail/Frameworks /Users/fries/Documents/Development/Serial\ Mail
REZ_SEARCH_PATHS =
ALWAYS_SEARCH_USER_PATHS = YES
VERSIONING_SYSTEM =
CURRENT_PROJECT_VERSION =
BUILD_VARIANTS = normal
SCAN_ALL_SOURCE_FILES_FOR_INCLUDES = NO
GENERATE_PROFILING_CODE = NO
PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR = YES
MACH_O_TYPE = mh_execute
INIT_ROUTINE =
PREBINDING = YES
ZERO_LINK = YES
LINK_WITH_STANDARD_LIBRARIES = YES
KEEP_PRIVATE_EXTERNS = NO
EXPORTED_SYMBOLS_FILE =
UNEXPORTED_SYMBOLS_FILE =
SEPARATE_SYMBOL_EDIT = NO
BUNDLE_LOADER =
DYLIB_CURRENT_VERSION =
DYLIB_COMPATIBILITY_VERSION =
SECTORDER_FLAGS =
DEAD_CODE_STRIPPING = NO
PRESERVE_DEAD_CODE_INITS_AND_TERMS = NO
ONLY_LINK_ESSENTIAL_SYMBOLS = NO
LINKER_DISPLAYS_MANGLED_NAMES = NO
LINKER_DISPLAYS_FILES_FOR_UNDEFINED_SYMBOLS = YES
WARNING_LDFLAGS =
OTHER_LDFLAGS =
GENERATE_MASTER_OBJECT_FILE = NO
PRELINK_LIBS =
PRELINK_FLAGS =
PRODUCT_NAME = "Serial Mail"
EXECUTABLE_PREFIX =
EXECUTABLE_EXTENSION =
WRAPPER_EXTENSION = app
PRIVATE_HEADERS_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/PrivateHeaders
PUBLIC_HEADERS_FOLDER_PATH = $(CONTENTS_FOLDER_PATH)/Headers
GENERATE_PKGINFO_FILE = YES
INFOPLIST_FILE = Info.plist
INFOPLIST_PREPROCESS = NO
INFOPLIST_PREFIX_HEADER =
INFOPLIST_PREPROCESSOR_DEFINITIONS =
INFOPLIST_OTHER_PREPROCESSOR_FLAGS =
COPYING_PRESERVES_HFS_DATA = NO
FRAMEWORK_VERSION = A
MACOSX_DEPLOYMENT_TARGET = 10.4
DEPLOYMENT_LOCATION = NO
DEPLOYMENT_POSTPROCESSING = NO
DSTROOT = /tmp/$(PROJECT_NAME).dst
INSTALL_PATH = "$(HOME)/Applications"
SKIP_INSTALL = NO
STRIP_INSTALLED_PRODUCT =
SEPARATE_STRIP = NO
STRIP_STYLE = all
STRIPFLAGS =
COPY_PHASE_STRIP = NO
INSTALL_OWNER = $(USER)
INSTALL_GROUP = $(GROUP)
INSTALL_MODE_FLAG = a-w,a+rX
ALTERNATE_PERMISSIONS_FILES =
ALTERNATE_OWNER = $(INSTALL_OWNER)
ALTERNATE_GROUP = $(INSTALL_GROUP)
ALTERNATE_MODE = $(INSTALL_MODE_FLAG)
TEST_HOST =
TEST_RIG =
GCC_INPUT_FILETYPE = automatic
GCC_C_LANGUAGE_STANDARD = compiler-default
GCC_CHAR_IS_UNSIGNED_CHAR = NO
GCC_ENABLE_ASM_KEYWORD = YES
GCC_ENABLE_TRIGRAPHS = NO
GCC_ENABLE_CPP_EXCEPTIONS = YES
GCC_ENABLE_CPP_RTTI = YES
GCC_ENABLE_OBJC_EXCEPTIONS = NO
GCC_NO_NIL_RECEIVERS = NO
GCC_ENABLE_PASCAL_STRINGS = YES
GCC_SHORT_ENUMS = NO
GCC_ONE_BYTE_BOOL = NO
GCC_ALTIVEC_EXTENSIONS = NO
GCC_CW_ASM_SYNTAX = YES
GCC_PREFIX_HEADER = $(PREFIX_HEADER)
GCC_PRECOMPILE_PREFIX_HEADER = $(PRECOMPILE_PREFIX_HEADER)
OTHER_CFLAGS =
OTHER_CPLUSPLUSFLAGS = $(OTHER_CFLAGS)
GCC_USE_GCC3_PFE_SUPPORT = $(USE_GCC3_PFE_SUPPORT)
GCC_PFE_FILE_C_DIALECTS = c objective-c c++ objective-c++
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
GCC_DEBUGGING_SYMBOLS = default
GCC_ENABLE_SYMBOL_SEPARATION = YES
GCC_OPTIMIZATION_LEVEL = 0
GCC_NO_COMMON_BLOCKS = NO
GCC_REUSE_STRINGS = YES
GCC_DYNAMIC_NO_PIC = NO
GCC_FAST_OBJC_DISPATCH = NO
GCC_UNROLL_LOOPS = NO
GCC_FAST_MATH = NO
GCC_STRICT_ALIASING = NO
GCC_MODEL_TUNING = G4
GCC_MODEL_PPC64 = NO
GCC_AUTO_VECTORIZATION = NO
GCC_ENABLE_SSE3_EXTENSIONS = NO
GCC_FEEDBACK_DIRECTED_OPTIMIZATION = Off
GCC_SYMBOLS_PRIVATE_EXTERN = YES
GCC_INLINES_ARE_PRIVATE_EXTERN = YES
GCC_ENABLE_FIX_AND_CONTINUE = YES
GCC_USE_NASM_FOR_ASM_FILETYPE = NO
GCC_OBJC_CALL_CXX_CDTORS = NO
GCC_THREADSAFE_STATICS = YES
GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
GCC_GENERATE_TEST_COVERAGE_FILES = NO
GCC_TREAT_WARNINGS_AS_ERRORS = NO
GCC_TREAT_NONCONFORMANT_CODE_ERRORS_AS_WARNINGS = NO
GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO
GCC_WARN_ABOUT_RETURN_TYPE = NO
GCC_WARN_NON_VIRTUAL_DESTRUCTOR = NO
GCC_WARN_EFFECTIVE_CPLUSPLUS_VIOLATIONS = NO
GCC_WARN_HIDDEN_VIRTUAL_FUNCTIONS = NO
GCC_WARN_TYPECHECK_CALLS_TO_PRINTF = NO
GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO
GCC_WARN_MISSING_PARENTHESES = NO
GCC_WARN_CHECK_SWITCH_STATEMENTS = NO
GCC_WARN_UNUSED_FUNCTION = NO
GCC_WARN_UNUSED_LABEL = NO
GCC_WARN_UNUSED_PARAMETER = NO
GCC_WARN_UNUSED_VARIABLE = NO
GCC_WARN_UNUSED_VALUE = NO
GCC_WARN_UNINITIALIZED_AUTOS = NO
GCC_WARN_UNKNOWN_PRAGMAS = NO
GCC_WARN_INHIBIT_ALL_WARNINGS = NO
GCC_WARN_PEDANTIC = NO
GCC_WARN_SHADOW = NO
GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO
GCC_WARN_SIGN_COMPARE = NO
GCC_WARN_ABOUT_POINTER_SIGNEDNESS = YES
GCC_WARN_ABOUT_MISSING_NEWLINE = NO
WARNING_CFLAGS = -Wmost -Wno-four-char-constants -Wno-unknown-pragmas
GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = YES
GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = YES
GCC_WARN_ABOUT_INVALID_OFFSETOF_MACRO = NO
GCC_PREPROCESSOR_DEFINITIONS =
GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS =
Hilfreich?
0
Kommentieren
Diese Diskussion ist bereits mehr als 3 Monate alt und kann daher nicht mehr kommentiert werden.
Kurztest MacBook Pro M4
Thunderbolt 5 am M4-Mac: Erstes Dock hinterläss...
Gurman zum Release des neuen Apple TV, HomePods...
Kurz: Trump unterstützt Musk als TikTok-Besitze...
Neues Apple TV und neuer HomePod mini auf dem W...
Apple kündigt Systemupdates für heute Abend an ...
Tim Cooks Jahresgehalt – und die Vergütung der ...
iOS 18.3 mit Hinweisen auf neue Apple-Hardware