Hi Ilan,

On Mon, 2009-07-27 at 12:05 -0700, Ilan wrote:
> I noticed in the terminal that I get a huge number of identical strings which
> essentially wipe out previous information. I tracked it down to
> NotationSelector.cpp, the handleMouseMove routine. I put in a break point
> and trapped it where I expected.
> I noticed that most of the messages had m_updateRect is 0. On the other hand
> if m_updateRect is false it immediately returns with no further action. I
> also tracked in the calling routine that NoFollow gives no action.
> With this in mind, it is possible to reduce the flood of useless messages
> just by moving the
> if (!m_updateRect) return NoFollow;
> to before the std::cerr output.
That should work.

> For some reason that causes a string of errors (see image below). What is
> worse is if I use Ctrl-Z to remove the changes and restore the original
> file, the errors remain. If I do a clean and rebuild, then it turns back to
> green with no errors.
> I don't understand what is causing this.
Looking at your screen shot, it looks like you may have inadvertently
lost a '}' on the sixth line? - this would've closed the previous
function definition.

Unfortunately, when working with compiled languages like C++, we all
spend many fruitless hours tracking down silly little problems and
really not understanding what is going on. Error reporting is very
limited.

Again, unfortunately, it's not normally something anyone else can help
with. It's really part of the game but is a great relief when you
finally find it!

Good luck!
Chris


------------------------------------------------------------------------------
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to