mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-06 17:26:01 +02:00
Do not show the source lookup dialog if file name is not specified.
This commit is contained in:
parent
0cd54d6a88
commit
3a90ab9274
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2002-12-18 Mikhail Khodjaiants
|
||||
Do not show the source lookup dialog if file name is not specified.
|
||||
* CUISourceLocator.java
|
||||
|
||||
2002-12-17 Mikhail Khodjaiants
|
||||
Disable the association controls in the 'Attach Source Location" dialog if path is not absolute.
|
||||
* AttachSourceLocationBlock.java
|
||||
|
|
|
@ -207,7 +207,7 @@ public class CUISourceLocator implements IAdaptable
|
|||
if ( res == null && fAllowedToAsk )
|
||||
{
|
||||
IStackFrameInfo frameInfo = (IStackFrameInfo)stackFrame.getAdapter( IStackFrameInfo.class );
|
||||
if ( frameInfo != null )
|
||||
if ( frameInfo != null && frameInfo.getFile() != null && frameInfo.getFile().length() > 0 )
|
||||
{
|
||||
showDebugSourcePage( frameInfo.getFile() );
|
||||
if ( fNewLocationAttached )
|
||||
|
|
Loading…
Add table
Reference in a new issue