How to get information from debug console?

For example, I'd like to open dialog by pressed button, where will be showing info from debug console (exceptions, warnings, log and etc.)
What do I need to use for it?



P.S.
Sorry for my bad English, I hope you will understand me.

1 comment
Comment actions Permalink

Probably, first you need to obtain reference to com.intellij.execution.ui.RunContentManager (ExecutionManager.getInstance(project).getContentManager()).
To obtains a reference to console use com.intellij.execution.ui.RunContentDescriptor#getExecutionConsole().
See also com.intellij.execution.ui.ConsoleView

0

Please sign in to leave a comment.