Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Siegfried Heintze" To: Subject: How to run ddd in XWin? Date: Sun, 11 Jul 2004 22:56:00 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200407112258671.SM01156@fasolt> X-IsSubscribed: yes OK, I apparently already have that installed. I typed "info XWin" and learned about the options. Nothing terribly relevant to ddd here -- did I miss something. OK, I type XWin& and "ddd test.exe" and same error. Any other ideas? Test.exe is compiled with the "-g" option in g77. I also tried ddd convex.pl and still got the same error. Ddd debugs perl too, correct? Thanks, Siegfried On Sun, July 11, 2004 6:36 pm, Richard Heintze said: > 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: This one's easy. It's almost certainly looking for a running X server, of which there almost certainly isn't one. I suggest you install the X.org packages, and then start XWin.exe .. (It's worth reading the documentation to decide how you want to start it, but I found that XWin.exe -multiwindow -emulate3buttons was useful (I use emu3buttons because the laptop I use it on only has 2 :( ) > > > 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! Just ensure that is the correct path to the file? I would be surprised if it was /cygdrive/c/tmp ... More likely is /cygdrive/c/cygwin/tmp/test.c . Does that work? Chris -- Your mode of life will be changed to EBCDIC. -- Dammit Jim, I'm a doctor, not a computer engineer! -- 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/ -- 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/