External library with sources

Hello! :)

I want to debug my Language's models inside MPS (some code generation and running samples from sandbox). The language uses external library as a jar. And I have sources for it.

I built a jar with sources .java inside. How can I make MPS to use .java files from this jar? And how can I debug this? I mean e.g. to set breakpoints in library's sources.

1 comment
Comment actions Permalink

I don't think you can, directly. What I usually do is debug MPS projects from IntelliJ IDEA via remote debugging. To do this I first need to create a project which contains the sources (both manually written and/or generated) of MPS, any external libraries I'm using such as mbeddr/iets3, and the actual MPS project I'm debugging.


Please sign in to leave a comment.