Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您如何正确调试您的语言创建?
特别是我想测试一个范围约束并查看节点的内容。您可以在约束文件中设置断点,但它们永远不会被触发。打印消息也是如此。
您需要按照https://confluence.jetbrains.com/display/MPSD33/Using+MPS+Debugger#UsingMPSDebugger-Debugginglanguagedefinitions上的说明进行操作
诚然,它需要相当多的设置工作,因此经常跟踪输出可以更快地洞察。