| Summary: | setting breakpoint in multiline statement sets bp on next statement | ||
|---|---|---|---|
| Product: | [Applications] kdevelop | Reporter: | Jon Smirl <jonsmirl> |
| Component: | CPP Debugger | Assignee: | kdevelop-bugs-null |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | git master | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
I believe this is an issue with gdb, or with debug info that gcc produces. If you find that gdb stops on the right line but KDevelop shows another, please send a test case to me. |
Version: CVS (using KDE Devel) Installed from: Compiled sources screen_info->root_drawable = XCreateWindow (display, RootWindow (display, screen), 0, 0, 100, 100, 0, vinfo->depth, InputOutput, vinfo->visual, CWBackPixel | CWBorderPixel | CWColormap | CWEventMask, &win_attrib); screen_info->root_context.context = glXCreateContext (display, vinfo, NULL, 1); If I set the bp on XCreateWindow the program is stopping at 'screen_info->root_context.context =' instead of 'screen_info->root_drawable ='. I think this used to work as expected. I am using GNU gdb 6.1