Debugger doesn't like Objective-C++ any more?
Debugger doesn't like Objective-C++ any more?
- Subject: Debugger doesn't like Objective-C++ any more?
- From: David Dunham <email@hidden>
- Date: Wed, 30 Jan 2008 10:35:51 -0800
I've got an application that's primarily in C++, but uses Cocoa, so
I've set it up as a Cocoa app. For some reason, the debugger is no
longer very happy with it. I can still set breakpoints, but stepping
doesn't work at all (or else gets into assembly).
I was going to try clearing caches or something, but it seems my
coworker is running into exactly the same issue. Here's what it looks
like when I set a breakpoint early in my C++ code:
Loading program into debugger…
GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct 2 04:07:49
UTC 2007)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and
you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-apple-darwin".tty /dev/ttys002
Program loaded.
sharedlibrary apply-load-rules all
run
[Switching to process 10036 local thread 0x2f1f]
Running…
mi_cmd_stack_list_frames: Not enough frames in stack.
mi_cmd_stack_list_frames: Not enough frames in stack.
(gdb)
If I set a breakpoint in applicationDidFinishLaunching: then I don't
get that error, but I still have problems stepping through code.
My app still works, it's just debugging that seems broken.
Running with Xcode 3.0, project set to 2.4 format, on 10.5.1 Intel
(both machines).
We've been making changes to the app of course, so it's hard to know
what if anything we did might have caused this. Most relevant think I
can think of is changing to 2.4 format (so we can compile on a Tiger
machine).
Anyone have any clue? I didn't find much via Google...
David Dunham Macintosh Game Developer
GameHouse Studios +1 206 926 5722 www.gamehouse.com
"They said it couldn't be done but sometimes it doesn't
work out that way." -- Casey Stengel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden