• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode 2.1 breakpoints not working for command line apps?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode 2.1 breakpoints not working for command line apps?


  • Subject: Re: XCode 2.1 breakpoints not working for command line apps?
  • From: Julien Palmas <email@hidden>
  • Date: Fri, 8 Jul 2005 13:09:12 +0900

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: This email sent to email@hidden
  • Follow-Ups:
    • Re: XCode 2.1 breakpoints not working for command line apps?
      • From: Ladd Van Tol <email@hidden>
References: 
 >XCode 2.1 breakpoints not working for command line apps? (From: Arshad Tayyeb <email@hidden>)

  • Prev by Date: XCode 2.1 breakpoints not working for command line apps?
  • Next by Date: Shark problem: can't see source code - RESOLVED
  • Previous by thread: XCode 2.1 breakpoints not working for command line apps?
  • Next by thread: Re: XCode 2.1 breakpoints not working for command line apps?
  • Index(es):
    • Date
    • Thread