|
Re: Debug toolbar is greyed out [message #1801970 is a reply to message #1801922] |
Wed, 30 January 2019 07:07 |
Ed Merks Messages: 33264 Registered: July 2009 |
Senior Member |
|
|
The program is terminate. The toolbar will only be active if there is a running process selected and there are none. Similarly variables will only be displayed when a stack frame is selected when the process is paused, e.g., at a breakpoint. The Breakpoints view is not the active tab, so I can't see if you have breakpoints set; I think the decorations in the source show that breakpoints are set, but they have little strange decorations on them that I don't recognize. Setting a normal break is done just by double clicking in the left-most bar of the source view. Of course I assume you hit the Debug button to launch the process, not the Run button...
In the worst case, try System.in.read() to block the running process. Then you can use the toolbar to pause the process, and make the process continue when you hit enter in console. Of course that doesn't solve the "it doesn't stop at breakpoints", but I get the sense from the strange decoration that you haven't set a normal breakpoint...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.07266 seconds