🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.delphi.misc
Article #98

Re: redirecting standard I/O of console app from Parameters

#98
From: Hmmm
Date: Fri, 02 Apr 2004 09:17
12 lines
1523 bytes
This with Host application works, 
but i missed somethig in my prev post... i want to be able to set
breakpoints in my code. With host application the execution doesnt
stop at setted breakpoints.

so... to resume 
Is there a way, my app to get its standard input from file, and yet to
be able to set and use breakpoint.

PS: I could load the external file with AssignFile(File, FileName),
and replace all "ReadLn(myVar)" with "ReadLn(File, myVar)", but my app
expect its input to be redirected to it and i want to test this case
Technical Details
Message-ID: <aaa4810e.0404020117.21546914@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <aaa4810e.0403300938.68846eca@posting.google.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10baee,38ff176ccba1a62d
X-Google-Attributes: gid10baee,public
X-Google-Thread: 10545b,38ff176ccba1a62d
X-Google-Attributes: gid10545b,public
X-Google-ArrivalTime: 2004-04-02 01:17:18 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: forums@mail.bg (Hmmm)
Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.ide
Subject: Re: redirecting standard I/O of console app from Parameters
Date: 2 Apr 2004 01:17:18 -0800
Organization: http://groups.google.com
Lines: 12
Message-ID: <aaa4810e.0404020117.21546914@posting.google.com>
References: <aaa4810e.0403300938.68846eca@posting.google.com>
NNTP-Posting-Host: 217.79.90.2
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1080897438 18442 127.0.0.1 (2 Apr 2004 09:17:18 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 2 Apr 2004 09:17:18 +0000 (UTC)