Summary: | Starting C/C++ debugger should first rebuild project if sources have changed | ||
---|---|---|---|
Product: | [Applications] kdevelop | Reporter: | Krystof Zacek <krystof.zacek> |
Component: | CPP Debugger | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | 3.3.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Krystof Zacek
2006-04-05 16:30:17 UTC
This isn't a bug, it's a wish. In either case, I think it's implemented on 3.4 branch. Vladimir? I agree with Krystof, this is borderline wish/bug. Because the source is rebuilt by default when running the program out of the debugger, the expected behavior is for it to rebuild the source when running it in the debugger. This may mean also a need to stop any existing debugger front end from running. Hi, I am experiencing this under the same version of kdevelop, the one currently in unstable. I use testing, but I took the decision to upgrade kdevelop to unstable because the debugger was too buggy, until I realized, after getting assistance from #kdevelop's adymo, that it was just this bug. I agree with Tim that the fact that running the program out of the debugger rebuilds it by default makes the expected behavior of running in the debugger to rebuild too, but you both seem to be missing what makes this really painful: the debugger follows the current code. Until you realize what's wrong, kdevelop looks completely nuts. Or if the changes since the last build were minor, it doesn't look completely nuts, but still behaves in a way impossible to understand. I wouldn't be surprised if people unexperienced with C like me waste hours due to this confusion. Please upgrade this back to normal. Note that according to adymo, the bug is fixed for 3.4. This is indeed implemented. I've experienced a new problem with this issue. If i've changed the source code and start the debugger answering NO to the 'rebuild' prompt KDevelop freezes. In fact this may also happen if sources weren't actually changed but KDevelop thinks so.. (i have no idea why, may be it is a separate bug) My current config is: KDE Version 3.4.1 (KDE 3.5.7, Gentoo) Operating System Linux (i686) release 2.6.22-gentoo-r2 Compiler Target: i686-pc-linux-gnu |