X-Spam-Check-By: sourceware.org From: Dave Silvia To: sitha , cygwin general mailing list 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 Content-Type: text/plain; charset="us-ascii" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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 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/