We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

WPF CHART DISABLES DEBUG TRACES!

The Wpf chart is deactivating the binding traces that are very important for debugging own apps.

For example when using PresentationTraceSources.TraceLevel="High" on a xaml element somewhere, the binding errors
are no longer displayed in the debugger.

This is because the Wpf chart makes changes to the System.Diagnostics namespace. As these changes are global you
should not change them within a library. It has severe impact on debugging!

Many of your customers won't be able to debug databinding in their own apps when using the chart.

PLEASE DON'T DISABLE IMPORTANT DEBUGGING FUNCTIONALITY WITH SO SEVERE IMPACT TO THE USERS/PROGRAMMERS.

The following code snippet is responsible for that:

namespace Syncfusion.Windows.Chart
{
public sealed class Chart : Control
{
public Chart()
{
<...snip...>
PresentationTraceSources.DataBindingSource.Listeners.Add(new ConsoleTraceListener());
PresentationTraceSources.DataBindingSource.Switch.Level = SourceLevels.Critical;
}
}
}

1 Reply

PI Poorani Idhaya Bala M.A Syncfusion Team May 24, 2010 10:02 AM UTC

Hi Dennis,

Thanks for your update. We will consider your query and the solution will be available in our next release (Volume 3) which is schedule on July 2nd week.

Let me know if you have any questions.

Thanks,
Poorani

Loader.
Live Chat Icon For mobile
Up arrow icon