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.
请先登录再写评论。
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