Example #1
0
 internal DbgEventFilter(string friendlyName,
                         DEBUG_FILTER_EXEC_OPTION executionOption,
                         DEBUG_FILTER_CONTINUE_OPTION continueOption,
                         string command)
     : this(friendlyName, executionOption, continueOption, command, null)
 {
 }
 internal DbgExceptionEventFilter(uint exceptionCode,
                                  string friendlyName,
                                  DEBUG_FILTER_EXEC_OPTION executionOption,
                                  DEBUG_FILTER_CONTINUE_OPTION continueOption,
                                  string command,
                                  string secondCommand,
                                  string name)
     : base(friendlyName, executionOption, continueOption, command, name)
 {
     ExceptionCode = exceptionCode;
     SecondCommand = secondCommand ?? String.Empty;
 } // end constructor
Example #3
0
        } // end _GetNameForEvent()

        // TODO: or should this be internal?
        public DbgEngineEventFilter(DEBUG_FILTER_EVENT specificEvent,
                                    string friendlyName,
                                    DEBUG_FILTER_EXEC_OPTION executionOption,
                                    DEBUG_FILTER_CONTINUE_OPTION continueOption,
                                    string argument,
                                    string command)
            : base(friendlyName, executionOption, continueOption, command, _GetNameForEvent(specificEvent))
        {
            Event = specificEvent;
            Util.Assert(!String.IsNullOrEmpty(friendlyName), "Shouldn't specific events always have a name?");
            Argument = argument ?? String.Empty; // is replacing nulls with empty string okay?
        } // end constructor
Example #4
0
 internal DbgEventFilter(string friendlyName,
                         DEBUG_FILTER_EXEC_OPTION executionOption,
                         DEBUG_FILTER_CONTINUE_OPTION continueOption,
                         string command,
                         string name)   // like "ld", "ud", "cpr", "ct", etc.
 {
     FriendlyName    = friendlyName ?? String.Empty;
     ExecutionOption = executionOption;
     ContinueOption  = continueOption;
     Command         = command;
     Name            = name;
 } // end constructor
 // TODO: or should this be internal
 public DbgExceptionEventFilter(uint exceptionCode,
                                string friendlyName,
                                DEBUG_FILTER_EXEC_OPTION executionOption,
                                DEBUG_FILTER_CONTINUE_OPTION continueOption,
                                string command,
                                string secondCommand)
     : this(exceptionCode,
            friendlyName,
            executionOption,
            continueOption,
            command,
            secondCommand,
            _GetNameForException(exceptionCode))
 {
 }