octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #57464] patch plot of quadrilateral ill shaped


From: Rik
Subject: [Octave-bug-tracker] [bug #57464] patch plot of quadrilateral ill shaped
Date: Mon, 23 Dec 2019 10:51:55 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Follow-up Comment #7, bug #57464 (project octave):

A quick way to guarantee whether code is reached is to add


assert (0);


before the code in question.  You may need to add


#include <cassert>


as well for access to the library function.

This will immediately abort the program as soon as the assert is reached.  It
is a somewhat clumsy debugging mechanism, but sometimes, particularly if there
are a lot of callbacks, I don't always trust the debugger gdb to guarantee a
stop at a particular point.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57464>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]