[Libreoffice] [PATCH] Fix for dialog Manage Breakpoints crash

Niklas Johansson sleeping.pillow at gmail.com
Mon Nov 28 03:27:16 PST 2011


  I started out trying to fix fdo 42778 and noticed that my initial 
description of the problem was a bit to narrow. It wasn't just the pass 
count that wasn't stored correctly but the breakpoints all together. In 
worst case it makes the program crash. This fix, stores the values. I'm 
not that experienced with C++ so could someone have a second look at 
this there might very well be a "cleaner" way of writing it.

After building it with the fix, Manage Breakpoints works almost as 
expected on my machine.
If you set the pass count to 1 it stops at the first 2 stops at the 
second. 1 should pass one and stop the second time. I'll try to fix this 
in another patch though.

-- 
Niklas Johansson

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111128/6a4d75cb/attachment.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fixes-BreakPointManager.patch
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111128/6a4d75cb/attachment.txt>


More information about the LibreOffice mailing list