Re: XCode 2.1 breakpoints not working for command line apps?
Re: XCode 2.1 breakpoints not working for command line apps?
- Subject: Re: XCode 2.1 breakpoints not working for command line apps?
- From: Ladd Van Tol <email@hidden>
- Date: Thu, 7 Jul 2005 23:17:31 -0700
I had a similar problem setting breakpoints in C++ code that I was
only able to resolve by turning off the "Load symbols lazily" option
in the Xcode debugging prefs.
I am uncertain why this worked, and Xcode 2.1 debugging continues to
be slow and flaky in many other regards.
- Ladd
On Jul 7, 2005, at 9:09 PM, Julien Palmas wrote:
Earlier today, I posted something similar ....
In my case, I cannot evet set breakpoints for files that have been
used to compile an external target.
No problems though with gdb alone in a terminal ....
I have to try it with Xcode 2.0 to see if the bug is related with 2.1
On Jul 8, 2005, at 12:48 PM, Arshad Tayyeb wrote:
I have a command-line tool that I've been porting to the Mac, and
I could debug it fine with XCode 2.0 (well, "fine" is relative
with gdb/Xcode). I'm excited about the new debugging features in
2.1, however, I'm having trouble setting just ordinary breakpoints.
When I click to set a breakpoint (or use the right click menu),
the dark icon appears in the gutter. When I look at the
breakpoints window, I see the breakpoint listed (although there is
an oddness - the checkbox is in the mixed state by default. I've
checked it fully, but that doesn't help my problem). If I open
the gdb console and type "info breakpoints", I see it:
Num Type Disp Enb Address What
1 breakpoint keep y <PENDING> "read_cd_drive.c:186
(I'm also confused why the address is "PENDING").
Anyway, no matter what, I don't break. I've tried many
breakpoints, ones I am 100% sure the code is hitting, to no
avail. This is a development build, the -g flag is specified.
Any ideas?
My cocoa apps break fine.
Note, when I run gdb on the command line, and type "b
read_cd_drive.c:186, the breakpoint works fine. I do get this
when I do info breakpoints:
1 breakpoint keep y 0x0003da70 in GetCDRomPlistFSSpec at
read_cd_drive.c:186
Thanks,
-Arshad
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40toppan.co.jp
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40criticalpath.com
This email sent to email@hidden
_______________________________________________
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