delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/11/13:37:14

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <20040711173649.58856.qmail@web50305.mail.yahoo.com>
Date: Sun, 11 Jul 2004 10:36:49 -0700 (PDT)
From: Richard Heintze <sieg_heintze AT yahoo DOT com>
Subject: How to run debugger?
To: cygwin AT cygwin DOT com
In-Reply-To: <20040711133459.67367.qmail@web40808.mail.yahoo.com>
MIME-Version: 1.0
X-IsSubscribed: yes

Ah hah! Write a short program called test.c and gcc -g
test.c -o test.exe and ddd test.exe and then I see

Error: can't open display:

  Why does this not work?

So I download the insight debugger and tried
/cygdrive/c/dev/insight/bin/gdb.exe test.exe

This gives the error
stat "/cygdrive/c/tmp/test.c" no such file or
directory
  while executing

Well that is not true, the file is there! I tried
chmod 777 test.c but that did not help. The debugger
works, it just cannot load test.c for some reason!

Anyone know why?
    Siegfried
    

--- James Merritt <jamesem_99 AT xxx DOT com> wrote:
> Another GUI debugger is DDD, also part of Cygwin. 
> Can't say how it compares to insight, though.
> 
> Have a great day!!
> 
> James E. Merritt
> 
> --- Arturus Magi <sailorleo AT xxx DOT com> wrote:
> > Richard Heintze wrote:
> > > I remember running a GUI based source code
> > debugger
> > > for gcc. I was very impressed. Can anyone remind
> > me of
> > > the command I used to start it?
> > 
> > What you're looking for is insight, and it is,
> > AFAIK, part of the gdb 
> > package.
> > 



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

--
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