delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/07/20/08:16:25

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: =?ISO-8859-1?Q?Rafael_Garc=EDa?= <rafael_no_spam_no_ AT geninfor DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: RHIDE subtle danger situation
Date: Wed, 20 Jul 2005 14:13:00 +0200
Organization: Telefonica Data Espagna
Lines: 15
Message-ID: <dblf43$18f$1@nsnmpen3-gest.nuria.telefonica-data.net>
NNTP-Posting-Host: 208.red-81-37-207.pooles.rima-tde.net
Mime-Version: 1.0
X-Trace: nsnmpen3-gest.nuria.telefonica-data.net 1121861571 1295 81.37.207.208 (20 Jul 2005 12:12:51 GMT)
X-Complaints-To: usenet AT nsnmpen3-gest DOT nuria DOT telefonica-data DOT net
NNTP-Posting-Date: Wed, 20 Jul 2005 12:12:51 +0000 (UTC)
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
X-Accept-Language: es-es, es
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Only to warn users of RHIDE whith many open files.

Debugging within RHIDE a program that opens many files simultaneously, 
under Windows XP. Stopped in a breakpoint in a function called after 
getting error code from open(), I write some code in the editor without 
ending debug session, then hit F2 to save changes. I get a message about 
EMFILE from RHIDE, then something like "want to reload?". I pressed 
Enter without thinking and I lost source file (truncated to 0 bytes). No 
big problem for me this time because no much code lost, but potencially 
destructive. Don't know if it's the same under DOS.

I can't simply increment "FILES=X" limit in \windows\system32\config.nt 
file, because I need to debug the program in limited handles condition 
so I will have to walk around it. I suppose stopping process with 
Ctrl-F2 before saving, there will be no problem.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019