Bug 61601

Summary: Debugger, When frame has no source, move to nearest frame that does
Product: [Applications] kdevelop Reporter: Jon Smirl <jonsmirl>
Component: CPP DebuggerAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED NOT A BUG    
Severity: normal    
Priority: NOR    
Version: git master   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jon Smirl 2003-07-24 02:21:43 UTC
Version:           CVS (using KDE KDE 3.1)
Installed from:    RedHat RPMs

I segfaulted in some code without source, for example a run-time library. The Kdevelop debugger should have moved the source code display to the nearest frame that has source available.

As currently implemented the source display doesn't change at all if you segfault without source.
Comment 1 John Birch 2003-07-27 00:05:08 UTC
I think that would be more misleading than not moving at all as then you'll get 
the debugging pointer saying this is where we are, when you are not actually 
there. And don't forget about those who want to see the disassembled code :) 
 
Currently a status message should be displayed saying "no source" and if you 
have the disassembly window open the corect disassembled code will be 
displayed. 
Comment 2 Jon Smirl 2003-07-27 01:02:49 UTC
Another idea would be to force display of the assembly window.