From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 630 invoked by alias); 21 May 2003 12:43:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 29265 invoked from network); 21 May 2003 12:41:40 -0000 Received: from unknown (HELO dali.onevision.de) (212.77.172.62) by sources.redhat.com with SMTP; 21 May 2003 12:41:40 -0000 Received: from schwingel.com (oppenheim [192.168.7.120]) by dali.onevision.de (8.11.7/8.11.3/ROSCH/DB) with ESMTP id h4LCfcs28584 for ; Wed, 21 May 2003 14:41:39 +0200 Message-ID: <3ECB7402.7040508@schwingel.com> Date: Wed, 21 May 2003 12:43:00 -0000 From: Roland Schwingel User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: de, de-de, en-us, en MIME-Version: 1.0 To: gdb Subject: gdb/Insight 5.3 really slow when stepping Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00285.txt.bz2 Hi.... I am using gdb/insight 5.3 on windows (cygwin). And it is *really* slow when stepping... So I started out to detect where it is slow. Even on stupid lines eg. stepping thru this block (snipped out of Insight) - 2370 int numLines = 0; 2371 NSArray *predefinedNames; - 2372 BOOL mustGenNames = NO; On every step gdb/insight is doing (in my case) about 17800 (!) filesystem accesses. I used FileMon from SysInternals. Obviously it checks presence of the source file and a huge number of headers and other source files. Both system header and selfmade onces. This makes stepping *really* slow. I encountered that it depends on the file you are stepping thru in how slow it is. Is this checking necessary all the time (on every step)? Wouldn't it be enough to scan all these things just once when entering the file the first time? Can it be switched off? Thanks for your help, Roland