Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "764hho" <764hho@nospam.com> Newsgroups: alt.folklore.computers Subject: Re: Debugging Adventure using Address Break Date: Thu, 31 Mar 2016 03:49:35 +1100 Lines: 37 Message-ID: References: <56f0f20d.1619358@nntp2.rawbw.com> <56f63b00.8472873@nntp2.rawbw.com> <56f0f20d.1619358@nntp2.rawbw.com> <56f63b00.8472873@nntp2.rawbw.com> <56f0f20d.1619358@nntp2.rawbw.com> <56f63b00.8472873@nntp2.rawbw.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Trace: individual.net lSi142279qT0h9eo8HbRhA2PurWd8gvVulfO/8kxZwsG6wli4= Cancel-Lock: sha1:nP5l6gJt08AqVIyi+/xGenHf0Bo= In-Reply-To: X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 Xref: csiph.com alt.folklore.computers:161659 "jmfbahciv" wrote in message news:PM00052F447554667A@aca40b23.ipt.aol.com... > Charlie Gibbs wrote: >> On 2016-03-29, jmfbahciv wrote: >> >>> Frankly, I don't know how people debug these days without >>> the SET WATCH FILE VERSION and SET BREAK command functionality. >> >> The same way we always did: sprinkle printf()s through our code. >> (Actually, I insert writes to a log file instead - then I can run >> the log through various tools for a more comprehensive analysis.) >> >> I'd love to have a nice freestanding symbolic debugger like I had >> with Lattice C under MS-DOS. But nowadays they want you to register >> your program as a "project" under some huge IDE full of so many bells >> and whistles that it takes more time to set it up than it does to >> track down a bug the old-fashioned way. >> > You still have at least one thumb duck-taped behind your back :-). > PRINTFs don't tell you where and which other files are used to > COMPIL/LINK/EXECUTE your code. Yes, it’s a much cruder way to debug and needs the source code and be able to compile it. So that doesn’t work when trying to find the last point with Adventure type games. > The SET BREAK can also help when the monitor > (kernal) is executing code in your behalf. But doesn’t help you to find the last point in an adventure type game. You need to be able to search the code for other code that references where the points are stored, so you can read that code and see what criteria that code requires before it will give you the last point.