delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/12/06/01:49:27

X-Spam-Check-By: sourceware.org
From: Dave Silvia <dsilvia AT mchsi DOT com>
To: sitha <nsitha AT gmail DOT com>, cygwin general mailing list <cygwin AT cygwin DOT com>
X-Mailer: Barca Pro 2.1 (3650) - Licensed Version
Date: Wed, 6 Dec 2006 00:49:25 -0600
Message-ID: <200612604925.619893@privateconcern>
In-Reply-To: <7714151.post@talk.nabble.com>
Subject: Re: Help for debug and pause
Mime-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kB66nOg3001514

Hi!

You could be talking about two different things, I'm not sure. If you mean pause
a running program from a command line then you use:

Ctrl-Z

If you use Ctrl-C, it quits the program. Once you've paused a program from the
command line, you type:

fg

Which brings it back to the foreground.

If you're debugging a program in gdb, then you use:

Ctrl-C

to pause execution at the current step. You can then execute any other gdb
commands. To resume debug execution you type:

c

or

cont

which starts debug execution going again.

For more info, type:

gdb

at the command line.  Then type:

help

for a listing of topics and:

help <desired-topic>

For help on a desired topic.

HTH:

thx,
Dave S.

wxMS_developers · Development with wxWidgets on MSWindows
http://tech.groups.yahoo.com/group/wxMS_developers/join


wxMS_developers RSS feed
http://rss.groups.yahoo.com/group/wxMS_developers/rss


wxWidgets Code Exchange
http://wxcodex.net/


-- On Tue, 5 Dec 2006 22:10:34 -0800 (PST) sitha wrote --
>
> Hi,
> I am confused by continue a program. I just used CTRL-C to pause
> the program but I could not continue the program by `c`. Pls help
> me.
>
> Regards,
> Sitha.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019