GP-4323: Add gdb/ssh and gdbserver/ssh connectors

This commit is contained in:
Dan
2024-02-15 14:33:42 -05:00
parent 2d9a1ac539
commit 9cb38e493b
20 changed files with 397 additions and 114 deletions

View File

@@ -31,26 +31,51 @@ public interface DebuggerConsoleService {
* Log a message to the console
*
* <p>
* <b>WARNING:</b> See {@link #log(Icon, String, ActionContext)} regarding HTML.
* <b>WARNING:</b> See {@link #log(Icon, String, Throwable, ActionContext)} regarding HTML.
*
* @param icon an icon for the message
* @param message the HTML-formatted message
*/
void log(Icon icon, String message);
/**
* Log an error message to the console
*
* <p>
* <b>WARNING:</b> See {@link #log(Icon, String, Throwable, ActionContext)} regarding HTML.
*
* @param icon an icon for the message
* @param message the HTML-formatted message
* @param error an exception, if applicable
*/
void log(Icon icon, String message, Throwable error);
/**
* Log an actionable message to the console
*
* <p>
* <b>WARNING:</b> See {@link #log(Icon, String, Throwable, ActionContext)} regarding HTML.
*
* @param icon an icon for the message
* @param message the HTML-formatted message
* @param context an (immutable) context for actions
*/
void log(Icon icon, String message, ActionContext context);
/**
* Log an actionable error message to the console
*
* <p>
* <b>WARNING:</b> The log accepts and will interpret HTML in its messages, allowing a rich and
* flexible display; however, you MUST sanitize any content derived from the user or target. We
* recommend using {@link HTMLUtilities#escapeHTML(String)}.
*
* @param icon an icon for the message
* @param message the HTML-formatted message
* @param error an exception, if applicable
* @param context an (immutable) context for actions
*/
void log(Icon icon, String message, ActionContext context);
void log(Icon icon, String message, Throwable error, ActionContext context);
/**
* Remove an actionable message from the console