home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!gatech!rutgers!fdurt1.fdu.edu!wisdom.bubble.org!chsdip!chsdip!groo
- From: groo@chsdip.wisdom.bubble.org (Bill Squier)
- Newsgroups: comp.lang.c++
- Subject: Re: Finding runtime Null ptr assignments
- Message-ID: <SzZur*eZ0@chsdip.wisdom.bubble.org>
- Date: 11 Aug 92 18:41:42 GMT
- References: <BsJI3x.Lqp@news.cso.uiuc.edu>
- Organization: Dragonsoft Development
- Lines: 18
- X-Newsreader: Arn V1.00 beta rel2
-
- In article <BsJI3x.Lqp@news.cso.uiuc.edu>, Scott Brown writes:
-
- > Using Borland's 3.0 compiler I have been getting a
- > null pointer assignment error at run-time with a program
- > I'm working on. Any hints as to how I might find out
- > why this is? [...]
-
- The easiest way to track down NULL pointer assignments in
- Turbo Debugger (and any debugger that supports memory-watch
- breakpoints) is to set a break point that watches location 0 as a
- long. As soon as one of those bytes is changed, the debugger will
- position you on the statement that caused the problem.
-
- With TD, the appropriate command is in the _W_atch menu (I believe).
-
- ----------------------------------------------------------------------
- "Stimpy, sometimes your wealth of ignorance astounds me." -ren hoek
- Bill Squier (groo@chsdip.wisdom.bubble.org) MetaMail capable
-