Re: [lldb-dev] MI Handle events.

2018-07-23 Thread Pavel Labath via lldb-dev
Well, judging by this snippet = tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp- case lldb::eStateStopped: tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp-pEventType = "eStateStopped"; tools/lldb-mi/MICmnLLDBDebuggerHandleEvents.cpp-bOk = HandleProcessEventStateStopped(vEvent, bShouldB

Re: [lldb-dev] MI Handle events.

2018-07-19 Thread Александр Поляков via lldb-dev
I've tried to put an assert into HandleProcessEventStateSuspended, but there wasn't a testcase triggering it. So, my question is still actual, any help will be really appreciate. пн, 16 июл. 2018 г. в 13:56, Pavel Labath : > The eStateSuspended state is used for threads (you can set it via > SBTh

Re: [lldb-dev] MI Handle events.

2018-07-16 Thread Pavel Labath via lldb-dev
The eStateSuspended state is used for threads (you can set it via SBThread::Suspend/Resume). It controls whether a "continue" operation on the process will run the thread or not. I am not sure if you can ever see that state on the process itself. On Sat, 14 Jul 2018 at 15:39, Adrian Prantl via l

[lldb-dev] MI Handle events.

2018-07-13 Thread Александр Поляков via lldb-dev
Hi lldb-dev, I'm looking at re-implementing of CMICmnLLDBDebugHandleEvents::HandleProcessEventStateSuspended to get rid of HandleCommand("process status") hack and use SB API instead. To check my changes I need to get HandleProcessEventStateSuspended called, so could someone help me with a sequenc