delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/09/13:15:29

From: "Pavlos" <trash24379 AT usa DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how to use rhide to debug a c program
Date: Wed, 9 Jun 1999 19:42:07 +0300
Organization: An OTEnet S.A. customer
Lines: 29
Message-ID: <7jm5gu$gft$1@newssrv.otenet.gr>
References: <001301beb21f$28de4c20$1c199c83 AT mars>
NNTP-Posting-Host: dram-a02.otenet.gr
X-Trace: newssrv.otenet.gr 928946526 16893 195.167.113.225 (9 Jun 1999 16:42:06 GMT)
X-Complaints-To: abuse AT otenet DOT gr
NNTP-Posting-Date: 9 Jun 1999 16:42:06 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

    Wei Luo wrote in message <001301beb21f$28de4c20$1c199c83 AT mars>...
    Hi,
    I am new here. I don't know how to use rhide to debug a C program and
can't seem to find
    an answer from the FAQ. I know that I have to compile the program
with -g option, but do I
    open the source file or the executable file. My source files are stored
in several different files.
    How do I open multiple source files in rhide? Should I compile the
program within rhide in order
    to debug it? Thanks a lot for your help! I will summarize.
    Wei

    RHide supports projects (as most IDEs do). If you have multiple files
for one program, go to RHIDE, go to Project->Open project and then enter the
filename of the project you wish to open or create. Then a window will pop
up (at the bottom). Add your program's files there. This way, when you press
build or make your project from RHIDE, it will compile all files it has to
compile and finally will link
    them to create your exe file. The option for debugging information is in
Options->Compilers->Debugging. Press <SPACE> on -g to set it on or off. Then
rebuild your project (BUILD ALL). Then you can add breakpoints in source
files with Ctrl+F8. Check it out.

    I hope that helps a bit.
    Pavlos



- Raw text -


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