<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">Hi,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
How do I obtain the exact reason of the process stop state?</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
Atm, I have a background thread that calls "m_listener.WaitForEvent(..)" once an event arrives</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">it extracts the process state from the event using the following method:</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small"><br></div><div class="gmail_default" style><font face="verdana, sans-serif">lldb::StateType state = m_process.GetStateFromEvent( event );</font><br>
</div><div class="gmail_default" style><font face="verdana, sans-serif"><br></font></div><div class="gmail_default" style><font face="verdana, sans-serif">And I handle it accordingly.</font></div><div class="gmail_default" style>
<font face="verdana, sans-serif">However, if a process state is lldb::eStateStopped</font></div><div class="gmail_default" style><font face="verdana, sans-serif">I would like to know the reason why, e.g. </font><span style="font-family:verdana,sans-serif"> </span><span style="font-family:verdana,sans-serif">'Breakpoint Hit', 'SIGSEGV' etc</span></div>
<div class="gmail_default" style><br></div><div class="gmail_default" style><span style="font-family:verdana,sans-serif">Any advice?</span><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
<br></div>-- <br><div dir="ltr">Eran Ifrah<br>Author of codelite, a cross platform open source C/C++ IDE: <a href="http://www.codelite.org" target="_blank">http://www.codelite.org</a><br><div>wxCrafter, a wxWidgets RAD: http://<a href="http://wxcrafter.codelite.org" target="_blank">wxcrafter.codelite.org</a></div>
</div>
</div>