mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Core support of function breakpoints.
This commit is contained in:
parent
5d70b24cde
commit
5c507c27ac
1 changed files with 1 additions and 1 deletions
|
@ -602,6 +602,6 @@ public class CDebugModel
|
||||||
private static IResource getFunctionResource( IFunction function )
|
private static IResource getFunctionResource( IFunction function )
|
||||||
{
|
{
|
||||||
ITranslationUnit tu = function.getTranslationUnit();
|
ITranslationUnit tu = function.getTranslationUnit();
|
||||||
return ( tu != null ) ? tu.getResource() : null;
|
return ( tu != null ) ? tu.getResource() : function.getCProject().getProject();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue