ResolveBreakpoint() 개인적인 메소드

private ResolveBreakpoint ( DebuggerSession session, Breakpoint breakpoint ) : BreakpointHandle
session DebuggerSession
breakpoint Breakpoint
리턴 BreakpointHandle
예제 #1
0
		internal override BreakpointHandle Resolve (Thread target, StackFrame frame)
		{
			if (handle != null)
				return handle;

			handle = location.ResolveBreakpoint (session, this);
			return handle;
		}
        internal override BreakpointHandle Resolve(Thread target, StackFrame frame)
        {
            if (handle != null)
            {
                return(handle);
            }

            SourceLocation location = Session.ParseLocation(
                target, frame, LocationType, Name);

            if (location == null)
            {
                throw new TargetException(TargetError.LocationInvalid);
            }

            handle = location.ResolveBreakpoint(Session, this);
            return(handle);
        }