Bug 30023 - Using default constructor in watch window does not work
Summary: Using default constructor in watch window does not work
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger (show other bugs)
Version: 5.0
Hardware: PC Mac OS
: Normal normal
Target Milestone: master
Assignee: Jeffrey Stedfast
URL:
Depends on:
Blocks:
 
Reported: 2015-05-13 06:04 UTC by Marek Safar
Modified: 2015-07-08 17:11 UTC (History)
3 users (show)

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


Attachments

Description Marek Safar 2015-05-13 06:04:02 UTC
http://screencast.com/t/vOSals2dL
Comment 1 Abhishek 2015-05-21 11:57:01 UTC
I have tried this issue and able to reproduce the reported behavior at my end.

Steps to Reproduce:
1.Create an Console Application.
2. Add var d = DateTime.Today;
3. Put the breakpoint at step 2.
4.Run and breakpoint hit.
5.Open Watch window and type new DateTime()
6.Expand it.

Screencast: http://www.screencast.com/t/gigmLqELprqe
IDE log: https://gist.github.com/Abhishekk360/d90204d605a7f23010d3

Environment Info:

=== Xamarin Studio ===

Version 5.9.2 (build 2)
Installation UUID: 93e693b0-b53d-40f4-b29c-b61ff5cbe892
Runtime:
	Mono 4.0.1 ((detached/11b5830)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400010043

=== Xamarin.Android ===

Version: 5.1.2.1 (Enterprise Edition)
Android SDK: /Users/xamarin23/Desktop/android-sdk-macosx
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Apple Developer Tools ===

Xcode 6.3 (7569)
Build 6D570

=== Xamarin.iOS ===

Version: 8.10.1.59 (Enterprise Edition)
Hash: 13d1cdc
Branch: master
Build date: 2015-05-18 22:54:57-0400

=== Xamarin.Mac ===

Version: 2.0.1.59 (Enterprise Edition)

=== Build Information ===

Release ID: 509020002
Git revision: 43735a4b905b571f69cf9428a3ea7b52aef55476
Build date: 2015-05-18 09:38:12-04
Xamarin addins: ab18ddff45f507ed74f36c2b65df9aee22e28a56

=== Operating System ===

Mac OS X 10.10.0
Darwin 800BC.local 14.0.0 Darwin Kernel Version 14.0.0
    Fri Sep 19 00:26:44 PDT 2014
    root:xnu-2782.1.97~2/RELEASE_X86_64 x86_64
Comment 2 Zoltan Varga 2015-07-08 17:11:51 UTC
Fixed in master/4.2 branch.

Note You need to log in before you can comment on or make changes to this bug.