Mps set Breakpoint in Language Definition

99 Views Asked by At

How do you correctly debug your language creation ?

In particular i want to test a scoping-constraint and look at the content of the nodes. You can set Breakpoint in the constraint-file but they are never triggerd. Same goes for print messages.

1

There are 1 best solutions below

3
On

You'll need to follow the instructions at https://confluence.jetbrains.com/display/MPSD33/Using+MPS+Debugger#UsingMPSDebugger-Debugginglanguagedefinitions

Admittedly, it requires quite some effort to setup, so frequently tracing output gives quicker insight.