-
Notifications
You must be signed in to change notification settings - Fork 4
/
jdibug.el
executable file
·53 lines (42 loc) · 1.54 KB
/
jdibug.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
;;; jdibug.el --- Elisp-based Java debugger
;; Author: Troy Daniels <[email protected]>
;; Maintainer: Troy Daniels <[email protected]>
;;; URL: https://github.com/udalrich/jdibug/branches
;;; Commentary:
;; If you are using JDEE, you only need to customize two variables
;; jdibug-connect-hosts
;; which is a list of hostname:port that you want to connect to.
;; Also ensure the
;; jdibug-use-jdee-source-paths
;; is set to t. This causes jdibug to use the jde sourcepath.
;;
;;
;; After that, make sure you have loaded the JDEE project with the
;; property variables (namely jdee-sourcepath)
;; and execute C-c C-c C-c in a JDEE buffer, wait for a while
;; until you see "Done" in the echo area.
;;
;; Then just go into any line in a java source code and do
;; C-c C-c C-b to break at that line.
;; Just run your application until you hit the breakpoint
;; after that stuffs are pretty much self explanatory
;;
;; The rest of the functions are almost similiar to that of jdb and jdebug.
;;; Code:
;; Wrapper that requires all the relevant components
(require 'elog)
(require 'tree-mode)
(require 'jdwp)
(require 'jdi)
(require 'jdibug-expr)
(require 'jdibug-ui)
(require 'jdibug-run)
(require 'jdibug-menu)
(defconst jdibug-major-version "@major-version@"
"Major version of this release.")
(defconst jdibug-minor-version "@minor-version@"
"Minor version of this release.")
(defconst jdibug-version (concat jdibug-major-version "." jdibug-minor-version)
"Version of this release.")
(provide 'jdibug)
;;; jdibug.el ends here