Esempio n. 1
0
        /// <summary>
        /// Returns true if the breakpoint does not correspond to a file on disk
        /// </summary>
        /// <param name="netBp">Breakpoint</param>
        /// <returns>True if hte breakpoint does not correspond to a file on disk otherwise false</returns>
        public static bool IsUnknownFile(this SledNetworkBreakpoint netBp)
        {
            if (netBp == null)
            {
                throw new ArgumentNullException("netBp");
            }

            return(string.IsNullOrEmpty(netBp.File));
        }
Esempio n. 2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="breakpoint">Breakpoint</param>
 public SledDebugServiceBreakpointEventArgs(SledNetworkBreakpoint breakpoint)
 {
     Breakpoint = breakpoint;
 }
Esempio n. 3
0
        /// <summary>
        /// Clone object
        /// </summary>
        /// <returns>Clone of original SledNetworkBreakpoint</returns>
        public object Clone()
        {
            var bp = new SledNetworkBreakpoint(LanguageId, File.Clone() as string, Line);

            return bp;
        }
Esempio n. 4
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="breakpoint">Breakpoint</param>
 public SledDebugServiceBreakpointEventArgs(SledNetworkBreakpoint breakpoint)
 {
     Breakpoint = breakpoint;
 }
Esempio n. 5
0
        /// <summary>
        /// Clone object
        /// </summary>
        /// <returns>Clone of original SledNetworkBreakpoint</returns>
        public object Clone()
        {
            var bp = new SledNetworkBreakpoint(LanguageId, File.Clone() as string, Line);

            return(bp);
        }