Page run on DEBUG mode but not Without Debugging

1 Answer 426 Views
General Discussions
Daniel
Top achievements
Rank 1
Silver
Bronze
Daniel asked on 31 Mar 2022, 12:33 PM

Hi,

I have page that stop running in mode of without debugging, but run on debug mode.

What can be the problem ?

Thanks,

 

1 Answer, 1 is accepted

Sort by
0
Lance | Manager Technical Support
Telerik team
answered on 31 Mar 2022, 03:40 PM | edited on 31 Mar 2022, 03:40 PM

Hi Daniel,

If it is working fine without a debugger, the problem is not with Telerik UI for MAUI. I recommend researching in MAUI Issues thread to see if other developers are also seeing SDK debugger problems.

Remember Microsoft has provided no guarantees that developer tooling debugger is reliable right now. It is the responsibility of Visual Studio and the target platform SDK. 

Moving Forward

Your attached code is too complex to figure out why the debugger is not working with it. My recommendations are:

  • Comment everything out until you have a project where the debugger is working again. Then, slowly re-add things back in until it breaks again. Once it breaks, you know exactly what is causing the issue.
  • If that doesn't help, then I also recommend creating a new project and paste in the code you provided, then repeat the steps above.

Note: In MAUI, it is pretty common to get hard to understand XAML exceptions that have no clear message and are sometimes on the wrong line. This is just something to have to deal with until MAUI leaves preview and Visual Studio Preview moves into the stable channel.

If you can reliably replicate the problem and show that it is an SDK or VS issue rather that user-code, then open a new bug report here:

Regards,
Lance | Manager Technical Support
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 03 Apr 2022, 08:28 AM

The problem found: BorderColor="Grey" instead of BorderColor="Gray"

  <Grid 

                    HorizontalOptions="Center"
                    VerticalOptions="Center" HeightRequest="90">
                    <telerik:RadButton  x:Name="failedFiles"
                        WidthRequest="120"
                        HeightRequest="60"                                
                        FontSize="Micro"
                        TextColor="Black"
                        BorderWidth ="2"
                        BorderColor="Gray"
                        BackgroundColor="White"
                        Margin="15" 
                        HorizontalContentAlignment="Center" Text="" />
                    <VerticalStackLayout HorizontalOptions="Center"
                         VerticalOptions="Center">
                        <Label Text="{Binding FailedFiles, Mode=TwoWay}"
                        FontAttributes="Bold"
                        HorizontalOptions="Center"
                        VerticalOptions="Center"
                        InputTransparent="True" />
                        <Label Text="Failed"
                        HorizontalOptions="Center"
                        VerticalOptions="Center"
                        InputTransparent="True" />
                    </VerticalStackLayout>
                </Grid>
Tags
General Discussions
Asked by
Daniel
Top achievements
Rank 1
Silver
Bronze
Answers by
Lance | Manager Technical Support
Telerik team
Share this question
or