mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Bug 107208: toggle breakpoint with external sources doesn't work.
This commit is contained in:
parent
a1ccd95cad
commit
8590ecef22
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
2005-08-17 Mikhail Khodjaiants
|
||||
Bug 107208: toggle breakpoint with external sources doesn't work.
|
||||
* ToggleBreakpointAdapter.java
|
||||
|
||||
2005-07-26 Mikhail Khodjaiants
|
||||
Bug 105224: Two identical directory source container types.
|
||||
+ icons\obj16\directory_obj.gif
|
||||
|
|
|
@ -47,6 +47,7 @@ import org.eclipse.jface.window.Window;
|
|||
import org.eclipse.ui.IEditorInput;
|
||||
import org.eclipse.ui.IEditorPart;
|
||||
import org.eclipse.ui.IFileEditorInput;
|
||||
import org.eclipse.ui.IPathEditorInput;
|
||||
import org.eclipse.ui.IStorageEditorInput;
|
||||
import org.eclipse.ui.IWorkbenchPart;
|
||||
import org.eclipse.ui.texteditor.IEditorStatusLine;
|
||||
|
@ -318,6 +319,9 @@ public class ToggleBreakpointAdapter implements IToggleBreakpointsTarget {
|
|||
if ( input instanceof IStorageEditorInput ) {
|
||||
return ((IStorageEditorInput)input).getStorage().getFullPath().toOSString();
|
||||
}
|
||||
if ( input instanceof IPathEditorInput ) {
|
||||
return ((IPathEditorInput)input).getPath().toOSString();
|
||||
}
|
||||
if ( input instanceof DisassemblyEditorInput ) {
|
||||
String sourceFile = ((DisassemblyEditorInput)input).getSourceFile();
|
||||
if ( sourceFile != null ) {
|
||||
|
|
Loading…
Add table
Reference in a new issue