www.delorie.com/archives/browse.cgi | search |
From: | "Andrew Davidson" <andrew AT lemure DOT freeserve DOT co DOT uk> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Setting breakpoints on variable values in Rhide? |
Date: | Sat, 8 May 1999 04:43:06 +0100 |
Organization: | Customer of Planet Online |
Lines: | 24 |
Message-ID: | <7h0bo3$2s4$1@news4.svr.pol.co.uk> |
NNTP-Posting-Host: | modem-104.barium.dialup.pol.co.uk |
X-Trace: | news4.svr.pol.co.uk 926134851 2948 62.136.27.232 (8 May 1999 03:40:51 GMT) |
NNTP-Posting-Date: | 8 May 1999 03:40:51 GMT |
X-Complaints-To: | abuse AT theplanet DOT net |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2014.211 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2014.211 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
How exactly do I achieve this? I've had a read through the help files and I feel I'm close but it still doesn't work. My problem is that I am using a rather complex structure rather than a simple variable. I am trying to access a bit of data a fair way into the structure which is read with, for example t=temp.p.ph.w; // this is an unsigned short, by the way. in a bit of C code. Now I need to keep an eye on temp.p.ph.w with the Rhide debugger and it simply isn't happening. I have added a breakpoint which is set for file/line. The file and line number are correct and it is highlighting the appropriate line with no problems. However, my condition for this breakpoint, temp.p.ph.w==0 is being ignored. If I write C code to test for this occurence it is spotted instantly, however, I cannot write C code to test the value as it changes frequently and I am trying to debug a section of dynamically generated machine code which cannot be interrupted in any way (doing this produces different results to the ones I'm getting now). Basically I have to be able to trap temp.p.ph.w at any number of differing values and I just need the appropriate condition line to do so. Thanks for your time, Andrew
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |