Mono.Debugger.Frontend.ScriptingContext.Print C# (CSharp) Method

Print() public method

public Print ( object obj ) : void
obj object
return void
        public void Print(object obj)
        {
            interpreter.Print (obj);
        }

Same methods

ScriptingContext::Print ( string message ) : void

Usage Example

Ejemplo n.º 1
0
        public override void PrintFrame(ScriptingContext context, StackFrame frame)
        {
            context.Print(frame);
            bool native = false;

            if (!PrintSource(context.Interpreter, frame))
            {
                native = true;
            }
            if (native)
            {
                AssemblerLine insn = frame.Thread.DisassembleInstruction(
                    frame.Method, frame.TargetAddress);

                if (insn != null)
                {
                    context.Interpreter.PrintInstruction(insn);
                }
                else
                {
                    throw new ScriptingException(
                              "Cannot disassemble instruction at address {0}.",
                              frame.TargetAddress);
                }
            }
        }
All Usage Examples Of Mono.Debugger.Frontend.ScriptingContext::Print