1
0
Fork 0
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:
Mikhail Khodjaiants 2003-04-10 22:09:26 +00:00
parent 5d70b24cde
commit 5c507c27ac

View file

@ -602,6 +602,6 @@ public class CDebugModel
private static IResource getFunctionResource( IFunction function )
{
ITranslationUnit tu = function.getTranslationUnit();
return ( tu != null ) ? tu.getResource() : null;
return ( tu != null ) ? tu.getResource() : function.getCProject().getProject();
}
}