Message-ID: <32BA324E.5AA8@post.comstar.ru> Date: Fri, 20 Dec 1996 09:29:34 +0300 From: Dim Zegebart Reply-To: zager AT post DOT comstar DOT ru Organization: Comstar Ltd. MIME-Version: 1.0 To: DJGPP Mail List Subject: Debugging in RHIDE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I discover the odd problem with DEBUGGING in RHIDE (unfortunately i'm too stupid to use GDB :-( ) So, when i use -O3 and -g under Windows 3.11 some local variables are not accessible for watching ( : not available) and some lines are not accessible for stepping into (There is no code generated for this line). Info page say: "Unlike most other C compilers, GNU CC allows you to use `-g' with `-O'. The shortcuts taken by optimized code may occasionally produce surprising results: some variables you declared may not exist at all; flow of control may briefly move where you did not expect it; some statements may not be executed because they compute constant results or their values were already at hand; some statements may execute in different places because they were moved out of loops. Nevertheless it proves possible to debug optimized output. This makes it reasonable to use the optimizer for programs that might have bugs." Is this broblem occure due to Windows 3.11 or i'm misunderstanding somethig important in info text? -- Regards, Dim Zegebart, Moscow Russia.