Sometimes the only way to get a minimum working example is to strip out
chunks of your application one piece at a time until you have nothing left
but the bug.
This may be a lot of work if you have a large application, but it's more or
less guaranteed to show you where the bug is.

On Mon, Nov 14, 2016 at 4:43 AM, Thomas Grübler <[email protected]>
wrote:

> i would like to show you a minimum working example, but until now, i did
> not manage it. somehow minimum examples work :D.
>
> Am Samstag, 12. November 2016 17:20:09 UTC+1 schrieb Luke Campagnola:
>>
>> One that I have seen recently matching your symptoms is that if you plot
>> values that cover a very large range, this can result in floating-point
>> errors in the GraphicsView bounds checking, which can then cause failures
>> to update (because the view doesn't think the plot is visible).
>>
>> On Sat, Nov 12, 2016 at 8:14 AM, Luke Campagnola <[email protected]>
>> wrote:
>>
>>> There are many reasons this could be happening. The easiest way for us
>>> to help is if you can provide a minimal working example.
>>> As a start, I would check to see whether the problem persists if you run
>>> the script without pycharm.
>>>
>>> On Fri, Nov 11, 2016 at 9:45 AM, Thomas Grübler <[email protected]>
>>> wrote:
>>>
>>>>
>>>> Hello,
>>>>
>>>> I write an application that displays something like an oscilloscope
>>>> with real time values.
>>>>
>>>> Sometimes, it just stops updating the graph. Just when I change the
>>>> window size, it shows the new curve, but then just one frame.
>>>>
>>>> The major problem is, I would like to write a bug report, but I do not
>>>> get any error message in PyCharm. When using the debugger, all
>>>> objects/pointers etc are present.
>>>> Even worse, I do not have a real way to reproduce the behavior.
>>>> Sometimes it is easy, sometimes it is not possible.
>>>> For reproducing, I stop updating my curve entries for a minute, and
>>>> then start again.
>>>> My software is normally updating the curve entries every 0.01s.
>>>>
>>>> Any idea, how to produce an error message if it is freezing to find the
>>>> problem?
>>>>
>>>> The freeze occurs using Python 3.4 (Anaconda) and with both PyQtGraph
>>>> 0.9 and 0.10.
>>>>
>>>> Thanks very much!
>>>> Thomas
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "pyqtgraph" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>>> gid/pyqtgraph/6e624762-ebb4-4452-9957-641d108b4716%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/pyqtgraph/6e624762-ebb4-4452-9957-641d108b4716%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "pyqtgraph" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/pyqtgraph/29c098b7-e2e6-4d38-a3a0-9c72b49cd9f9%40googlegroups.com
> <https://groups.google.com/d/msgid/pyqtgraph/29c098b7-e2e6-4d38-a3a0-9c72b49cd9f9%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/CACZXET8FN%2B2wxfSuHnrZ2H8M9YBknmW2WD_%3DFVPWpva%2BNKxY5g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to