6.8 KiB
title | lastmodified | redirect_from | |
---|---|---|---|
Release Notes MonoTools 2.0 Beta 2 | 2010-07-30 |
|
Release Notes MonoTools 2.0 Beta 2
Mono Tools for Visual Studio 2.0 Beta 2
We are proud to announce Mono Tools for Visual Studio 2.0 Beta 2! For MonoTools 2.0, we rewrote many of the techniques that turned out to be pain points for our users. Additionally, we are adding support for debugging more platforms like Mac and Windows.
Beta 2 is primarily a bugfix release, and contains the fixes noted in the Changes in Beta 2 section below.
What's New in 2.0
Soft Debugger
One of the biggest changes for MonoTools 2.0 (at least under the hood) is that we've switched to Mono's new Soft Debugger.
The soft debugger was originally released for MonoTouch, allowing developers to remotely debug applications running on Mono on the iPhone. Unlike our traditional "hard debugger" (mdb), which operates outside of the Mono runtime to start and pause an application and poke at memory contents, the soft debugger is built into the Mono runtime and cooperates with the runtime to provide the necessary functionality to the debugger.
More Information about the Soft Debugger
Platform Support Overview
The biggest benefit of supporting the soft debugger in MonoTools is that users can now use Visual Studio to debug Mono running Linux, Windows, and Mac OS X.
Debugging Mono on Windows is an especially important improvement because it can simplify the porting process. When porting an application to Mono, we've always recommended people port first to Mono on Windows to find any differences between Mono and .NET, and then port to Mono on Linux to find any differences between Windows and Linux; however, the lack of local debugging support on Windows in MonoTools 1.x made it difficult to take this approach.
Better Debugging Experience
The debugger in MonoTools 2.0 also adds several features that were notably absent, including support for adding or removing breakpoints while running, and support for setting a breakpoints in partial constructors (most commonly effecting the Windows.Forms designer in Visual Studio).
Profile-Based Deployment
MonoTools 2.0 introduces MonoTools Server Profiles. Profiles allow you to save your frequently used servers (and local Mono instances) so you can easily switch between them. Think of them like "bookmarks" for your servers, saving you the effort of keying server names/ip addresses, or waiting on Mono Tools to find nearby servers.
However, profiles can store more than just the server address. Each profile can have completely independent settings, allowing you to set up things like IOMAP, so you can quickly switch between profiles with case-sensitivity enabled or disabled.
You may also note a few new settings are available. We got several feature requests for allowing applications to be run with arbitrary environment variables or arguments passed to Mono, which can now be assigned per-profile.
Deployment Speed
Another great new improvement in MonoTools 2.0 is deployment speed. In 1.1, we introduced an improvement that saved the step of recopying files to the server if they were unchanged since the last run. This helped considerably, but copying files could still be unacceptably slow at times.
For 2.0, this has been totally rewritten from scratch. We now copy files over HTTP instead of remoting. Now we not only copy files that have changed since the last run, we also compress all files into one zip file that we transfer to the server.
For our usual test case of BlogEngine.NET, it could take up to 30 seconds to copy for a first run in MonoTools 1.0/1.1. In 2.0, it takes about 1-2 seconds to compress the code, send it, and decompress it. Subsequent, unchanged runs are nearly instantaneous, making the "debug, fix, test" cycle much faster.
Platform Support
MonoTools 2.0 supports running and debugging on many more platforms than 1.0/1.1.
1.0/1.1 supported:
- Windows - Run
- Linux - Run, Debug
2.0 now supports:
- Windows - Run, Debug
- Linux - Run, Debug
- Mac - Run, Debug
This should make it easier to target every desktop platform.
Changes in Beta 2
The following bugs have been fixed in Beta 2:
- Create a hot key for the Mono menu
- Can not remove multiple profiles
- Disable UI in choose profile dialog
- Mac Cannot run remote app with mono tools
- Locals shown when no local variables are present
- VS 2k10: Profile Selector and other dialogs unusable with large fonts
- Break on exception not implemented
Links
The beta is public, so download it now and let us know how it goes!
This beta will expire on August 15th, 2010.
Download MonoTools
Note: Express editions of Visual Studio cannot run plugins, so they will not work.
Download Mono for Windows to Run/Debug Locally
Download Servers for Linux and Mac to Run/Debug Remotely
Linux:
-
Preconfigured MonoTools Server openSUSE VMware image (500MB)
-
or -
-
Preconfigured MonoTools Server openSUSE VirtualPC image (500MB)
-
or -
-
Use the openSUSE 1click from your existing Linux system:
Note: After installing on Linux, launch the "MonoTool GUI Server" from the application menu to start the server.
Mac:
- MonoTools Server for Mac OS X (required to debug Mono on Mac OS X)
- Requires Mono 2.6.6 for Mac OS X