Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If an exception is uncaught, the special library function <strong><a href="http://www.cplusplus.com/reference/std/exception/terminate/" rel="nofollow noreferrer"><code>terminate()</code></a></strong> is automatically called. Terminate is actually a pointer to a function and default value is the Standard C library function <a href="http://www.cplusplus.com/reference/clibrary/cstdlib/abort/" rel="nofollow noreferrer"><code>abort()</code></a>. You <em>may</em> be able to set a breakpoint on the call to the <a href="http://www.cplusplus.com/reference/clibrary/cstdlib/abort/" rel="nofollow noreferrer"><code>abort()</code></a> function and identify the location of the uncaught exception from there.</p> <pre><code>break abort ... run ... bt </code></pre> <hr> <p>You can install your own <strong><a href="http://www.cplusplus.com/reference/std/exception/terminate/" rel="nofollow noreferrer"><code>terminate()</code></a></strong> function by using <strong><a href="http://www.cplusplus.com/reference/std/exception/set_terminate/" rel="nofollow noreferrer"><code>std::set_terminate()</code></a></strong>. You should be able to set a breakpoint on your terminate function in gdb. You <em>may</em> be able to generate a stack backtrace from your <strong><a href="http://www.cplusplus.com/reference/std/exception/terminate/" rel="nofollow noreferrer"><code>terminate()</code></a></strong> function and this backtrace <em>may</em> help in identifying the location of the exception. Additional details are provided <a href="https://stackoverflow.com/questions/2443135/how-do-i-find-where-an-exception-was-thrown-in-c/2445569#2445569"><strong>here</strong></a>.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload