コード例 #1
0
 public int RemoveSetException(EXCEPTION_INFO[] pException)
 {
     if (breakpointManager.ContainsCatchpoint(pException[0].bstrExceptionName))
     {
         breakpointManager.Remove(breakpointManager[pException[0].bstrExceptionName]);
         Session.Breakpoints.RemoveCatchpoint(pException[0].bstrExceptionName);
     }
     return(VSConstants.S_OK);
 }
コード例 #2
0
        public int Delete()
        {
            if (!isDeleted)
            {
                isDeleted = true;
                if (breakpoint != null)
                {
                    breakpointManager.Remove(breakpoint);
                }

                lock (boundBreakpoints)
                {
                    for (var i = boundBreakpoints.Count - 1; i >= 0; i--)
                    {
                        boundBreakpoints[i].Delete();
                    }
                }
            }
            return(VSConstants.S_OK);
        }