Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!gill!paul From: paul@gill.UUCP (Paul Nordstrom) Newsgroups: comp.lang.c++ Subject: Re: A question of style Message-ID: <509@gill.UUCP> Date: 2 Aug 89 21:16:20 GMT References: <1148@hsfmsh.UUCP> Reply-To: paul@gill.UUCP (Paul Nordstrom) Organization: Gill & Co., L.P., San Francisco Lines: 20 In article grunwald@flute.cs.uiuc.edu writes: > >there is an advantage to using enums; when examining an enum value using >G++, GDB will print the *name* of the enum, not just the value. > >this makes debugging a little easier, because you don't need to try to >recall what the enum values mean. >-- >Dirk Grunwald -- Univ. of Illinois (grunwald@flute.cs.uiuc.edu) The Oregon C++ debugger does this as well. -- Paul Nordstrom Gill & Co., L.P. uunet!gill!paul