public JStackFrame(JThread thread, string frameName, string filename, int startLine, int endLine, int lineNo, int argCount, int frameId, FrameKind kind) { _thread = thread; _frameName = frameName; _filename = filename; _argCount = argCount; _lineNo = lineNo; _frameId = frameId; _startLine = startLine; _endLine = endLine; _kind = kind; }
public BreakpointHitEventArgs(JBreakpoint breakpoint, JThread thread) { _breakpoint = breakpoint; _thread = thread; }
public DjangoStackFrame(JThread thread, string frameName, string filename, int startLine, int endLine, int lineNo, int argCount, int frameId, string sourceFile, int sourceLine) : base(thread, frameName, filename, startLine, endLine, lineNo, argCount, frameId, FrameKind.Django) { _sourceFile = sourceFile; _sourceLine = sourceLine; }
public OutputEventArgs(JThread thread, string output) { _thread = thread; _output = output; }
public ExceptionRaisedEventArgs(JThread thread, JException exception, bool isUnhandled) { _thread = thread; _exception = exception; _isUnhandled = isUnhandled; }
public ThreadEventArgs(JThread thread) { _thread = thread; }
private void HandleThreadCreate(Stream stream) { // new thread long threadId = stream.ReadInt64(); var thread = _threads[threadId] = new JThread(this, threadId, _createdFirstThread); _createdFirstThread = true; var created = ThreadCreated; if (created != null) { created(this, new ThreadEventArgs(thread)); } }
internal void SwitchThread(JThread thread, bool verbose) { _threadId = thread.Id; _frameId = thread.Frames[0].FrameId; SetThreadAndFrameCommand(thread.Id, thread.Frames[0].FrameId, thread.Frames[0].Kind); if (verbose) { Window.WriteLine(String.Format("Current thread changed to {0}, frame {1}", _threadId, _frameId)); } }