Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old January 9th, 2011, 05: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
Reply With Quote
  #2 (permalink)  
Old January 9th, 2011, 05: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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 02:35 PM
Chapter 10: UIImagePickerControl photolibrary crash Tom Kamphuis BOOK: Professional iPhone Programming with MonoTouch and .NET/C# 3 November 29th, 2010 07:11 PM
IE7 crash... update panel?? PeterPeiGuo ASP.NET 3.5 Basics 2 March 5th, 2010 06:52 PM
Cr8 & Stored procedure ..Crash ..Crash swissaKM Crystal Reports 0 January 2nd, 2005 05:02 AM
VB 6 Crash saikrishnan Pro VB 6 2 December 15th, 2004 04:51 AM



All times are GMT -4. The time now is 02:38 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.