ego

module
v0.0.4-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2025 License: AGPL-3.0

README

Ego

Ego Logo

This extension provides a user interface for EGO, a Golang non-stop debugging library.

Purpose

Ego is a dynamic debugging library designed to help developers troubleshoot production issues with minimal performance impact. It enables real-time monitoring and logging of function arguments and return values with only the library imported.

Features

  • Non-stop LogPoint: Set breakpoints without stopping the application.
  • Function level Tracing: Trace specific functions to monitor their execution. (Under Construction)
  • Package Tracing: Trace entire packages to get a comprehensive view of the application's behavior.
  • Dynamic Log View: View logs dynamically in a webview.
  • Trace Backend Connection: Connect to a trace backend to visualize and analyze traces.

Getting Started

1. Import the ego instrument library
import (
  "math/rand"
  "time"

  _ "github.com/CoverConnect/ego/cmd/ego"
)
2. Install the Extension

Install the EGO extension from the VS Code marketplace.

3. Set a function argument logpoint

Ego logpoint

Commands

  • EGO: Show Trace View: Show the trace view panel. (Under Construction)
  • EGO: Refresh Trace Backend: Refresh the trace backend view. (Under Construction)
  • EGO: Connect Trace Backend: Connect to a trace backend. (Under Construction)
  • EGO: Refresh Process View: Refresh the traced process view.
  • EGO: Refresh Function View: Refresh the traced functions view.

Directories

Path Synopsis
cmd
ego
pkg
api
dap

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL