X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f From: "Matthew Smith" Newsgroups: comp.os.msdos.djgpp Subject: Re: Debugging in RHIDE (1.4.9) Date: Tue, 5 Feb 2002 00:19:35 -0000 Lines: 39 Message-ID: References: <3c5ebc9b AT MAIL DOT mhogaming DOT com> NNTP-Posting-Host: modem-2150.snake.dialup.pol.co.uk X-Trace: newsg1.svr.pol.co.uk 1012868319 20287 62.137.120.102 (5 Feb 2002 00:18:39 GMT) NNTP-Posting-Date: 5 Feb 2002 00:18:39 GMT X-Complaints-To: abuse AT theplanet DOT net X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com > of a class member functions, but it is impossible to set a breakpoint in .h > file. You should not have executable code in a .h file, so breakpoints there are unnecessary > Also, without rebuilding, randomly, after having finished program and > pressed F8 again, even no step-by-step execution happens, program "flies > away", gives out the result, and RHIDE reports program exit code 0. > Try ctl-F2 (program reset) before rebuilding > In another randomly reproductable case RHIDE crashes. Some times it is Build > all, or Open project commands. Yes, I find a few instabilities with RHIDE 1.4.9 too. > I don't use any -O and any other optimizations. > Can anybody tell me what happens and is there any solution of my problem? > Not until gcc is fixed to produce the right line numbers. Ideally RHIDE/gdb could be adjusted to step to lines with no generated code too, by taking the next line which does have code. It seems bizarre that you can't have a breakpoint on the line which defines a function.