<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hello Lubomir,<br>
</p>
Am 17.04.2017 um 21:01 schrieb Lubomir I. Ivanov:<br>
<blockquote
cite="mid:CAGDbWi9jxSTdYCPbt1ouYammy-Wvn4WVZJe8+RH5gm5v5jnT1g@mail.gmail.com"
type="cite">
<pre wrap="">your best bet is to change the function to this:
QDebug mDebug()
{
return QDebug( QtDebugMsg ); // or "return qDebug();"
}
which will essentially enable debug output for everything in Marble,
until we write a dummy Class with an overloaded << operator to void
all the incoming debug calls.</pre>
</blockquote>
Yes, agreed. I did this already once before following your
suggestion and I now did it again in a little different way by
enabling a line Dirk recently added in MarbleDebug.cpp:<br>
<br>
namespace Marble<br>
{<br>
bool MarbleDebug::m_enabled = true;<br>
// bool MarbleDebug::m_enabled = false;<br>
<br>
Even with my limited skills I can guess that will give the same
result.<br>
And yes: In both cases no more crashes.<br>
And yes: I see lot's of marble debug output now if I start under
windows from the PowerShell.<br>
<br>
<br>
But still two questions, one maybe stupid:<br>
- Why could it be that eventually in Marble FileLoader::run every
~10th startup the "different" branch including line 138 is executed?
Does this happen unintentionally? This is executed for
d->m_contents.isEmpty()==true.<br>
- Can this change also go into Dirks Subsurface-marble branch? Maybe
also other users are affected?<br>
<br>
Best regards<br>
Stefan<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.3 (Win32)">
<meta name="CREATED" content="0;0">
<meta name="CHANGEDBY" content="Stefan Fuchs">
<meta name="CHANGED" content="20120503;23115492">
<style type="text/css">
<!--
P { color: #000000 }
-->
</style>
<p>Stefan Fuchs<br>
E-Mail: <a href="mailto:sfuchs@gmx.de">sfuchs@gmx.de</a></p>
</div>
</body>
</html>