Article View: comp.lang.pascal.delphi.misc
Article #99Re: redirecting standard I/O of console app from Parameters
From: Catherine Rees Lay
Date: Fri, 02 Apr 2004 09:48
Date: Fri, 02 Apr 2004 09:48
23 lines
2066 bytes
2066 bytes
In article <aaa4810e.0404020117.21546914@posting.google.com>, Hmmm <forums@mail.bg> writes >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 Have you tried Attach to Process? (in the Run menu) HTH, Catherine. -- Catherine Rees Lay To email me, use my first name in front of the "at".
Technical Details
Message-ID:
<hw1gHMHRbTbAFw09@spamtram.polyhedron.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!kibo.news.demon.net!news.demon.co.uk!demon!polyhedron.com!spamtrapReferences:
<aaa4810e.0403300938.68846eca@posting.google.com> <aaa4810e.0404020117.21546914@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10545b,38ff176ccba1a62d X-Google-Attributes: gid10545b,public X-Google-Thread: 10baee,38ff176ccba1a62d X-Google-Attributes: gid10baee,public X-Google-ArrivalTime: 2004-04-02 01:50:43 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsrout1.ntli.net!news.ntli.net!kibo.news.demon.net!news.demon.co.uk!demon!polyhedron.com!spamtrap From: Catherine Rees Lay <spamtrap@polyhedron.org.uk> Newsgroups: comp.lang.pascal.delphi.misc,borland.public.delphi.ide Subject: Re: redirecting standard I/O of console app from Parameters Date: Fri, 2 Apr 2004 10:48:01 +0100 Lines: 23 Sender: Catherine Rees Lay <spamtrap@polyhedron.com> Message-ID: <hw1gHMHRbTbAFw09@spamtram.polyhedron.com> References: <aaa4810e.0403300938.68846eca@posting.google.com> <aaa4810e.0404020117.21546914@posting.google.com> Reply-To: spamtrap@polyhedron.com NNTP-Posting-Host: polyhdrn.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed X-Trace: news.demon.co.uk 1080899442 23154 158.152.76.50 (2 Apr 2004 09:50:42 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Fri, 2 Apr 2004 09:50:42 +0000 (UTC) User-Agent: Turnpike/6.01-U (<RJ4jTZMSYiUcI8n9an$Ofd26b8>)