Wrox Programmer Forums
|
BOOK: Professional iPhone Programming with MonoTouch and .NET/C#
This is the forum to discuss the Wrox book Professional iPhone Programming with MonoTouch and .NET/C# by Wallace B. McClure, Rory Blyth, Craig Dunn, Chris Hardy, Martin Bowling ; ISBN: 978-0-470-63782-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone Programming with MonoTouch and .NET/C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 9th, 2011, 06:48 PM
Registered User
 
Join Date: Jan 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 4: WebView01 crash

Opened the solution at ch04/WebView01/WebView01.sln
MainWindow.xib opens ok in Interface Builder
Compiles ok

The problem: when I run it I see the message "Waiting for debugger to connect on 127.0.0.1:10000" but it just stays there - the app does not start in the simulator (the simulator itself does start).

I have other apps compiling and running on the simulator, so I know it's not my devevelopment environment/setup. Here are my framework versions (the latest as far as I know) -

xcode_3.2.5_and_ios_sdk_4.2_final 2.dmg
MonoFramework-2.8.2_1.macos10.novell.x86.dmg
monotouch-eval-3.2.3.pkg
MonoDevelop-2.4-r159698.dmg (+ MonoDevelop-20401003.dmg)

I know MonoTouch changes, XCode changes, MonoDevelop changes - so these things happen since you originally wrote the book. This is the first code sample in the book, so I want to make sure I can make this one works before moving on.

Thanks!
twitter.com/ehuna

Unhandled Exception: System.ArgumentNullException: Argument cannot be null.
Parameter name: value
at MonoTouch.iPhoneSimulatorRemoteClient.DTiPhoneSimu latorSessionConfig.set_SimulatedSystemRoot (MonoTouch.iPhoneSimulatorRemoteClient.DTiPhoneSim ulatorSystemRoot value) [0x00000] in <filename unknown>:0
at MonoTouch.Simulator.SimController..ctor (System.String app_path, System.String sdk_version, System.String device_type, System.String[] args) [0x00000] in <filename unknown>:0
at MTouch.Main (System.String[] args) [0x00000] in <filename unknown>:0
 
Old January 9th, 2011, 06:54 PM
Registered User
 
Join Date: Jan 2011
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Found it: after opening the WebView01.sln click on Project > iPhone Simulator Target > iPhone Simulator 4.2

It was set to "Default" and that did not work.

Good times!
twitter.com/ehuna





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 12 Emergency Responder 2 - crash! makeit_quick BOOK: Professional Android 2 Application Development 1 December 24th, 2010 03:35 PM
Chapter 10: UIImagePickerControl photolibrary crash Tom Kamphuis BOOK: Professional iPhone Programming with MonoTouch and .NET/C# 3 November 29th, 2010 08:11 PM
IE7 crash... update panel?? PeterPeiGuo ASP.NET 3.5 Basics 2 March 5th, 2010 07:52 PM
Cr8 & Stored procedure ..Crash ..Crash swissaKM Crystal Reports 0 January 2nd, 2005 06:02 AM
VB 6 Crash saikrishnan Pro VB 6 2 December 15th, 2004 05:51 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.