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.
Unfortunately, activation email could not send to your email. Please try again.

WPF CHART DISABLES DEBUG TRACES!

Thread ID:

Created:

Updated:

Platform:

Replies:

94547 May 19,2010 03:54 PM May 24,2010 06:02 AM WPF 1
loading
Tags: Chart
Dennis Schöpper
Asked On May 19, 2010 03:54 PM

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;
}
}
}

Poorani Idhaya Bala M.A [Syncfusion]
Replied On May 24, 2010 06:02 AM

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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;