• 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: Pausing GDB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pausing GDB?


  • Subject: Re: Pausing GDB?
  • From: Alastair Houghton <email@hidden>
  • Date: Thu, 27 Nov 2003 14:07:33 +0000

On 27 Nov 2003, at 11:08, Nick Zitzmann wrote:

> This may be a dumb question, but I can't find the answer in the GDB
> manual or in-program help...
>
> When I launch GDB from the command line, how do I get it to pause when
> it's running some code on command (e.g. not using breakpoints)? In
> Xcode's debugger I just press the "Pause" button, but how does Xcode
> tell the debugger to pause execution when the button is pressed, and
> can I duplicate that at the command line?

Press CTRL-C.  GDB catches the SIGINT that it generates and stops the
program, just the same as if you press Pause in Xcode.

Kind regards,

Alastair.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Pausing GDB? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Pausing GDB?
  • Next by Date: Problem compiling on Panther then running on Jaguar
  • Previous by thread: Re: Pausing GDB?
  • Next by thread: Problem compiling on Panther then running on Jaguar
  • Index(es):
    • Date
    • Thread