mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-20 23:45:23 +02:00
Fix for bug 79583: Deffered breakpoints and shared library events.
This commit is contained in:
parent
90097c4feb
commit
d7970bc456
2 changed files with 4 additions and 7 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2004-11-26 Mikhail Khodjaiants
|
||||||
|
Fix for bug 79583: Deffered breakpoints and shared library events.
|
||||||
|
* CSharedLibraryManager.java
|
||||||
|
|
||||||
2004-11-25 Mikhail Khodjaiants
|
2004-11-25 Mikhail Khodjaiants
|
||||||
Fix for bug 79452: Unable to set a breakpoint on a class method.
|
Fix for bug 79452: Unable to set a breakpoint on a class method.
|
||||||
* CDebugUtils.java: cleanup.
|
* CDebugUtils.java: cleanup.
|
||||||
|
|
|
@ -52,8 +52,6 @@ public class CSharedLibraryManager implements ICSharedLibraryManager {
|
||||||
fSharedLibraries.add( library );
|
fSharedLibraries.add( library );
|
||||||
}
|
}
|
||||||
library.fireCreationEvent();
|
library.fireCreationEvent();
|
||||||
if ( library.areSymbolsLoaded() )
|
|
||||||
setBreakpoints();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public synchronized void sharedLibraryUnloaded( ICDISharedLibrary cdiLibrary ) {
|
public synchronized void sharedLibraryUnloaded( ICDISharedLibrary cdiLibrary ) {
|
||||||
|
@ -71,7 +69,6 @@ public class CSharedLibraryManager implements ICSharedLibraryManager {
|
||||||
CSharedLibrary library = find( cdiLibrary );
|
CSharedLibrary library = find( cdiLibrary );
|
||||||
if ( library != null ) {
|
if ( library != null ) {
|
||||||
library.fireChangeEvent( DebugEvent.STATE );
|
library.fireChangeEvent( DebugEvent.STATE );
|
||||||
setBreakpoints();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -146,10 +143,6 @@ public class CSharedLibraryManager implements ICSharedLibraryManager {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setBreakpoints() {
|
|
||||||
getDebugTarget().setBreakpoints();
|
|
||||||
}
|
|
||||||
|
|
||||||
protected CDebugTarget getDebugTarget() {
|
protected CDebugTarget getDebugTarget() {
|
||||||
return fDebugTarget;
|
return fDebugTarget;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue