Code Monkey home page Code Monkey logo

jvdb's Introduction

This is a way to integrate Vim with the JVM's debugger, jdb.  It was originally yavdb, modified to work for a Scala project.  Maybe someone else will find it useful

Video of it being used: http://www.youtube.com/watch?v=COyzt0DvCZY

Script Requirements:
-VIM compiled with Signs, Client-Server, and Python support.
-Python 2.5
-An operating system with support for named pipes
-NERDTree 


Using JVDB:
    jvdb [-c classpath] [-n servername] [-s sourcedirs] <classname> "<breakpoint>" 


Example:
    jvdb -c "/home/vmarquez/project/bin" -s "src:test" com.myproject.TestClass "stop in com.myproject.TestClass$.main"



VIM will have the following key mappings set:

<F5> Continue Execution
<F7> Step Into a Function
<F8> Next Instruction




TODO:  I'd like to use NERDTree to display locals for each stack printed out.  If I can find out how to hook into opening a 'dir' from NERDTree, I can do more
with dumping complex objects out. 

jvdb's People

Contributors

vmarquez avatar

Stargazers

Roberto Simoni avatar Jade Shan avatar komlow avatar Vitaly Larchenkov avatar Joseph C avatar Dashkal avatar Pavel Davydov avatar Luis Montiel avatar Adelar da Silva Queiróz avatar Jon Schoning avatar Andrey ``Bass'' Shcheglov avatar Rick Huang avatar  avatar Dominic LoBue avatar Tom Chappell avatar Alin Popa avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.