Scala 3 @main annotation breaks debugger

已回答

When using the @main annotation for the main entrypoint, breakpoints aren't hit when the debugger is run. I have also tried the old-style main declaration, and breakpoints set within the function are hit, but ones in functions outside main aren't hit even when they are in the same file and called directly from main.

评论操作 固定链接

In Section 1, “Execute a model”, you’ll learn how to start and stop a model execution. Additionally, some engine may also provide some dedicated control panels and views. Section 2, “Animate a model” presents how to enable or disable the animation. Section 3, “Debug a model” presents how to suspend the execution in order analyze the model during its execution. Thanks to the trace support, in GEMOC, this activity allows to go forward but also backward and analyze several dimensions of the runtime data.

0

请先登录再写评论。