Bug 41834 - debugger can't locate the code lines correctly
Summary: debugger can't locate the code lines correctly
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-28 17:18 UTC by wuchang
Modified: 2002-09-16 14:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wuchang 2002-04-28 17:13:43 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           KDE 2.2.2 
Severity:          normal
Installed from:    RedHat RPMs
Compiler:          gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-98)
OS:                Linux (i686) release 2.4.9-31
OS/Compiler notes: 

I find that the debugger can't locate the lines of the source code correalcty. It points to the blank lines or sometimes goes out of the function to the comments lines. It sometimes points to the line that has already been executed. The watch function also doesn't work correctly. For some float values it shows 'nan' but when i exit the debug mode and print the value out by printf the value is correct. In the debug mode this error will enfluence the execution of the program also. The testing code is below:

//debug can't show the value of sigmaA correctly.
int main(int argc char *argv[])
{
     double temp = 0;
     double sigmaA;
     temp = 170.007845549;
     sigmaA = sqrt(temp);
     printf("%f" sigmaA);
     return 1;
}

(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application KDE Version manually changed)
Comment 1 John Firebaugh 2002-09-15 21:31:39 UTC
Should work with Gideon