Bug 15648 - Debugger breaks on Eval
Summary: Debugger breaks on Eval
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 4.1.12
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: master
Assignee: Jeffrey Stedfast
Depends on:
Reported: 2013-10-24 08:15 UTC by Mohib Sheth
Modified: 2015-03-06 15:01 UTC (History)
1 user (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Mohib Sheth 2013-10-24 08:15:48 UTC
I am working on a universal app in Xamarin Studio. Everything is the latest as on Alpha channel.

This issue is not pertaining to the current version, but happening since a long time. Whenever I am in debugging mode, if I try to "Eval" either using hovering on the variable or using the "Evaluate Expression" option. The debugger shows a message "Evaluating..." and then the debug stops.

Can you please look into this?
Comment 1 Jeffrey Stedfast 2013-10-30 14:44:03 UTC
Do you have a test case where this happens? I don't seem to be able to reproduce this issue.

THe only thing I can think of is that you are paused while the AppDelegate.FinishedLaunching() method is in the stack.

The reason this is a problem is because if FinishedLaunching() does not execute in less than 17 seconds, the iOS app launcher will kill the app. This is beyond our control, so if you are stepping through code while in the FinishedLaunching() method or one of the methods called by it, then you have to be fast.
Comment 2 Mohib Sheth 2013-10-30 15:08:20 UTC
No, this does not happen on debugging during FinishedLaunching() method...

I am inside my app, and after an async network call, I am trying to evaluate the result which is in a variable. So I do not think this is a platform problem. I also noticed, this only happens for complex structures comprising of nested objects.

Can you try this?
Comment 3 Jeffrey Stedfast 2013-10-30 17:54:58 UTC
If you attach a sample project and give me directions on where to set a breakpoint and what to do (as far as stepping), I'll try it.

But I don't know that I could reproduce the problem you are seeing otherwise.
Comment 4 Jeffrey Stedfast 2015-03-06 15:01:56 UTC
When Xamarin Studio shows "Evaluating..." it means that it is waiting for the runtime of the app to evaluate method calls. This was likely a runtime issue and not anything that could be fixed within Xamarin Studio itself.

Closing due to lack of response, but I'd be happy to look into it or have Zoltan (our runtime guy) look into it if this problem has persisted.