public JavaDebugStackFrame(JavaDebugThread thread, IStackFrame stackFrame) { Contract.Requires<ArgumentNullException>(thread != null, "thread"); Contract.Requires<ArgumentNullException>(stackFrame != null, "stackFrame"); _thread = thread; _stackFrame = stackFrame; _nativeMethod = stackFrame.GetLocation().GetMethod().GetIsNative(); if (!_nativeMethod) _debugProperty = new StackFrameDebugProperty(this); }
public JavaDebugStackFrame(JavaDebugThread thread, IStackFrame stackFrame) { Contract.Requires <ArgumentNullException>(thread != null, "thread"); Contract.Requires <ArgumentNullException>(stackFrame != null, "stackFrame"); _thread = thread; _stackFrame = stackFrame; _nativeMethod = stackFrame.GetLocation().GetMethod().GetIsNative(); if (!_nativeMethod) { _debugProperty = new StackFrameDebugProperty(this); } }