Ejemplo n.º 1
0
        public AD7StackFrame(AD7Engine engine, AD7Thread thread, NodeThreadContext threadContext)
        {
            m_engine = engine;
            m_thread = thread;
            m_threadContext = threadContext;

            // Try to get source information for this location. If symbols for this file have not been found, this will fail.
            m_functionName = m_threadContext.func.AnyName;
            m_lineNum = (uint)m_threadContext.line;
        }
Ejemplo n.º 2
0
 public void OnThreadStart(DebuggedThread debuggedThread)
 {
     // This will get called when the entrypoint breakpoint is fired because the engine sends a thread start event
     // for the main thread of the application.
     if (m_engine.DebuggedProcess != null) {
         //Debug.Assert(Worker.CurrentThreadId == m_engine.DebuggedProcess.PollThreadId);
     }
     var ad7Thread = new AD7Thread(m_engine, debuggedThread);
     debuggedThread.Client = ad7Thread;
     Send(new AD7ThreadCreateEvent(), ad7Thread);
 }