mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fix for watchpoints.
This commit is contained in:
parent
b6683a70d2
commit
626262c9a0
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-11-24 Mikhail Khodjaiants
|
||||||
|
Fix for watchpoints.
|
||||||
|
* CSourceLocator.java
|
||||||
|
|
||||||
2002-11-22 Mikhail Khodjaiants
|
2002-11-22 Mikhail Khodjaiants
|
||||||
Cache source elements to optimize search.
|
Cache source elements to optimize search.
|
||||||
* CProjectSourceLocator.java
|
* CProjectSourceLocator.java
|
||||||
|
|
|
@ -141,7 +141,7 @@ public class CSourceLocator implements ICSourceLocator, IPersistableSourceLocato
|
||||||
if ( resource instanceof IProject )
|
if ( resource instanceof IProject )
|
||||||
{
|
{
|
||||||
if ( locations[i] instanceof CProjectSourceLocation &&
|
if ( locations[i] instanceof CProjectSourceLocation &&
|
||||||
((CProjectSourceLocation)locations[i]).equals( resource ) )
|
((CProjectSourceLocation)locations[i]).getProject().equals( resource ) )
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue