What's New in MPS 1.1
Analyze Stacktrace — One Step Closer to Debugger
We're actively working on a full-fledged MPS debugger and MPS 1.1 is only few steps away from it. If you have an exception that you want to check against your code, use Tools | Analyze Stacktrace. Paste the stacktrace into the opened tool-window and you can navigate from exception to MPS source code.
You can also click in stacktraces that occur while you run code or tests in MPS.
This is made possible with a new debug information generator. When you generate a model, it produces a file which allows to find nodes in the generated code that correspond to a particular text position.
Run Configurations
Another important addition is Run Configurations. Run Configurations allow having multiple saved execution profiles for quick access. You can quickly select a configuration to run, directly from the main toolbar.
In configuration parameters you can specify what to run and the arguments arguments. Even more, MPS includes Run Configuration for base language main classes and unit tests, but you can, of course, create your own. MPS provides a DSL for creating custom run configurations.
Additionally, MPS allows to run from context and auto-creates a corresponding configuration for the executed entity, either a module, a class, a method, etc.
Continuous Integration Using Model Generator Ant Task
Continuous Integration is a very important practice in software development. If you adopt it in your projects and want to use with MPS too, you are going to need a server-side model generator. MPS 1.1 adds a special Ant task for this purpose, and now it is possible to use it inside your CI solution (e.g. TeamCity).
General Improvements
We also optimized performance and memory usage. This is especially noticeable on large documents in the editor.
