Mono.Debugger.Debugger.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            Dispose (true);
            // Take yourself off the Finalization queue
            GC.SuppressFinalize (this);
        }

Same methods

Debugger::Dispose ( bool disposing ) : void

Usage Example

示例#1
0
        public Process OpenCoreFile(string core_file)
        {
            if ((debugger != null) || (main_process != null))
                throw new TargetException (TargetError.AlreadyHaveTarget);

            Console.WriteLine ("Loading core file {0}", core_file);

            try {
                debugger = new Debugger (config);

                new InterpreterEventSink (this, debugger);

                Thread[] threads;
                current_process = main_process = debugger.OpenCoreFile (
                    session, core_file, out threads);

                current_thread = current_process.MainThread;

                return current_process;
            } catch (TargetException) {
                debugger.Dispose ();
                debugger = null;
                throw;
            }
        }
All Usage Examples Of Mono.Debugger.Debugger::Dispose