• 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: Need some help with .gdbinit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need some help with .gdbinit


  • Subject: Re: Need some help with .gdbinit
  • From: Damien Bobillot <email@hidden>
  • Date: Thu, 21 Jul 2005 15:01:00 +0200


Le 21 juil. 05 à 10:40, Jonathan del Strother a écrit :

I'm currently running this sequence of commands every time I debug my program in XCode's debugger : 

(gdb) br ptrace
Breakpoint 6 at 0x900541f4
(gdb) comm 6
>return
>cont
>end
(gdb) restart

I'd like to put this into .gdbinit, but can't see how, as the breakpoint number will change each time, so "comm 6" won't work...

In Xcode 2.1, you may setup commands associated to a breakpoint from the breakpoint window.

- menu Debug > Breakpoints
- click on the grey triangle before the breakpoint name
- click the + button

-- 
Damien Bobillot
 _______________________________________________
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: Need some help with .gdbinit
      • From: Peter N Lewis <email@hidden>
    • Re: Need some help with .gdbinit
      • From: Jonathan del Strother <email@hidden>
References: 
 >Need some help with .gdbinit (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: build warnings - stumped
  • Next by Date: Re: build warnings - stumped
  • Previous by thread: Need some help with .gdbinit
  • Next by thread: Re: Need some help with .gdbinit
  • Index(es):
    • Date
    • Thread