Home

Awesome

gdx-dbgagent

Java Agent for debugging common libgdx related issues.

Debug utilities

Usage

  1. Build the gdx-dbgagent.jar file from this project via the instructions in the 'Build' section below
  2. Copy the gdx-dbgagent.jar to any directory (henceforth called <cwd>)
  3. Start your libgdx application with -javaagent:<cwd>/gdx-dbgagent.jar
    1. when using the command line, it should look like: java -javaagent:<cwd>/gdx-dbgagent.jar -cp all/the/jars your.main.Class
    2. when using Eclipse, right-click your class with the main() method, goto 'Run As > Run Configurations...' and on the 'Arguments' tab inside the 'VM Arguments:' field enter -javaagent:<cwd>/gdx-dbgagent.jar

Build

  1. ./gradlew assemble
  2. see build/libs/gdx-dbgagent.jar