AndreasEnscape
Topic Author
Posts: 22
Joined: 01 Aug 2017, 07:37

How to debug xaml/c++

20 Oct 2017, 10:28

Due to Binding problems I direly need to find a way to debug xaml/c++ or at least see binding errors. Where can I acces those or how to debug into things? Some console output would be nice (such as the output console from Visual Studio)...
Thanks for assistance!

Let me give you a very short code example that clarifies the problem.
    <Button x:Name="blabla" Width="80" Height="80" Grid.Row="2" Grid.Column="2" Background="Green" DataContext="{Binding Path=MyToggleHelpContext}">
        <TextBlock Text="{Binding Path=DataContext.ToggleHelp, RelativeSource={RelativeSource Self}}"/>
     </Button>
The initil value is displayed correctly, any change afterwards in the context will not be reflected in the textblock.
P.S.: I do execute a change notification in the source behind....
 
User avatar
jsantos
Site Admin
Posts: 2903
Joined: 20 Jan 2012, 17:18
Contact:

Re: How to debug xaml/c++

23 Oct 2017, 21:31

Right now, the only way to access this is by having a profile version of Noesis (that we are not officially distributing). This is changing in the upcoming 2.1 version where we will provide hooks for the logging mechanism. There will be an exclusive logging channel for binding issues.
 
nikobarli
Posts: 178
Joined: 26 Apr 2017, 06:23

Re: How to debug xaml/c++

24 Oct 2017, 02:06

Great. Actually was going to ask for the same feature.
 
AndreasEnscape
Topic Author
Posts: 22
Joined: 01 Aug 2017, 07:37

Re: How to debug xaml/c++

24 Oct 2017, 10:18

Good news. What is the release plan for 2.1? If I am not mistaken, the current version is about 2 years old now?
 
User avatar
jsantos
Site Admin
Posts: 2903
Joined: 20 Jan 2012, 17:18
Contact:

Re: How to debug xaml/c++

24 Oct 2017, 20:46

Current stable version was released 3 months ago. NoesisGUI 2.1 beta for Unity is already public, C++ and C# SDK will come soon : )

Who is online

Users browsing this forum: No registered users and 1 guest