mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +02:00
Bug 102386: double-clicking on a disassembly line in the disassembly view does not add a breakpoint.
This commit is contained in:
parent
700bf57ccc
commit
47dfe9b49c
2 changed files with 11 additions and 5 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-06-30 Mikhail Khodjaiants
|
||||||
|
Bug 102386: double-clicking on a disassembly line in the disassembly view does not add a breakpoint.
|
||||||
|
* ToggleBreakpointAdapter.java
|
||||||
|
|
||||||
2005-06-29 Mikhail Khodjaiants
|
2005-06-29 Mikhail Khodjaiants
|
||||||
Bug 41725: I can't set a breakpoint in a function where I used attach source.
|
Bug 41725: I can't set a breakpoint in a function where I used attach source.
|
||||||
Bug 45514: Breakpoints made is assembly view do not show in C view.
|
Bug 45514: Breakpoints made is assembly view do not show in C view.
|
||||||
|
|
|
@ -476,11 +476,13 @@ public class ToggleBreakpointAdapter implements IToggleBreakpointsTarget {
|
||||||
}
|
}
|
||||||
|
|
||||||
private IResource getAddressBreakpointResource( String fileName ) {
|
private IResource getAddressBreakpointResource( String fileName ) {
|
||||||
IPath path = new Path( fileName );
|
if ( fileName != null ) {
|
||||||
if ( path.isValidPath( fileName ) ) {
|
IPath path = new Path( fileName );
|
||||||
IFile[] files = ResourcesPlugin.getWorkspace().getRoot().findFilesForLocation( path );
|
if ( path.isValidPath( fileName ) ) {
|
||||||
if ( files.length > 0 )
|
IFile[] files = ResourcesPlugin.getWorkspace().getRoot().findFilesForLocation( path );
|
||||||
return files[0];
|
if ( files.length > 0 )
|
||||||
|
return files[0];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return ResourcesPlugin.getWorkspace().getRoot();
|
return ResourcesPlugin.getWorkspace().getRoot();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue