jde debugging
Daniel Flesner <danimal <at> agriroots.com>
2011-03-30 20:35:52 GMT
when i'm running jdee with the debugger, if i have 2 break points and
then delete one the debug mode quits working with the following stack
trace:
Debugger entered--Lisp error: (no-method-definition jde-db-breakpoint-get-line (nil))
signal(no-method-definition (jde-db-breakpoint-get-line (nil)))
jde-db-breakpoint-get-line(nil)
jde-db-delete-breakpoint(nil)
jde-jdb-cmd-clear-breakpoint([object jde-jdb-cmd-clear-breakpoint "jdb clear breakpoint"
"clear" [object jde-db-jdb-1-6 "jdb 1.6" "jdb" "*debug localhost:8787*" #<buffer *debug
localhost:8787*> #<process *debug localhost:8787*> t unbound ([object jde-jdb-stack-listener "jdb
stack listener" #1 ""] [object jde-jdb-breakpoint-listener "jdb breakpoint listener" #1 "^.*:
\"thread=.*\", \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9,.\240]*\\)" 3 5
"^Breakpoint hit: .*(pc \\([0-9]*\\))" ""]) [object jde-jdb-cmd-set "jdb commands" #1 [object
jde-jdb-cmd-launch-app "launch" "launch application in jdb debug mode" #1 unbound] [object
jde-jdb-cmd-launch-applet "launch" "launch applet in jdb debug mode" #1 unbound] [object
jde-jdb-cmd-run "run" "run" #1] [object jde-jdb-cmd-cont "cont"
"cont" #1] [object jde-jdb-cmd-quit "jdb quit" "quit" #1] [object jde-jdb-cmd-step-over "jdb
step-over cmd" "next" #1] [object jde-jdb-cmd-step-into "jdb step-into cmd" "step" #1] [object
jde-jdb-cmd-step-out "jdb step-out cmd" "step up" #1] [object jde-jdb-cmd-up "jdb up cmd" "up" #1]
[object jde-jdb-cmd-down "jdb down cmd" "down" #1] [object jde-jdb-cmd-where "jdb where cmd" "where"
#1] [object jde-jdb-cmd-set-breakpoint "jdb set breakpoint" "stop at" #1 nil] #0 [object
jde-jdb-cmd-print "jdb print cmd" "print" #1 ""] [object jde-jdb-cmd-dump "jdb dump cmd" "dump" #1 ""]
[object jde-jdb-cmd-eval "jdb eval cmd" "eval" #1 ""] [object jde-jdb-cmd-set-var "jdb set cmd" "set"
#1 "" "null"] [object jde-jdb-cmd-locals "jdb locals cmd" "locals" #1 ""]] nil #0 [object
jde-jdb-debuggee-app "deb
uggee" [object jde-db-debuggee-status "jdb status" t t nil] "" "Attached to socket localhost:8787"
[object jde-db-socket-attach-connector "connector" "8787" "localhost"]] "jdb"
"/usr/java/latest/bin/jdb" [object jde-jdb-breakpoint-listener "jdb breakpoint listener" #1
"^.*: \"thread=.*\", \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(),
line=\\([0-9,.\240]*\\)" 3 5 "^Breakpoint hit: .*(pc \\([0-9]*\\))" ""]] nil] "> ")
apply(jde-jdb-cmd-clear-breakpoint ([object jde-jdb-cmd-clear-breakpoint "jdb clear breakpoint"
"clear" [object jde-db-jdb-1-6 "jdb 1.6" "jdb" "*debug localhost:8787*" #<buffer *debug
localhost:8787*> #<process *debug localhost:8787*> t unbound ... [object jde-jdb-cmd-set "jdb
commands" #2 [object jde-jdb-cmd-launch-app "launch" "launch application in jdb debug mode" #2
unbound] [object jde-jdb-cmd-launch-applet "launch" "launch applet in jdb debug mode" #2 unbound]
[object jde-jdb-cmd-run "run" "run" #2] [object jde-jdb-cmd-cont "cont" "cont" #2] [object
jde-jdb-cmd-quit "jdb quit" "quit" #2] [object jde-jdb-cmd-step-over "jdb step-over cmd" "next" #2]
[object jde-jdb-cmd-step-into "jdb step-into cmd" "step" #2] [object jde-jdb-cmd-step-out "jdb
step-out cmd" "step up" #2] [object jde-j
db-cmd-up "jdb up cmd" "up" #2] [object jde-jdb-cmd-down "jdb down cmd" "down" #2] [object
jde-jdb-cmd-where "jdb where cmd" "where" #2] [object jde-jdb-cmd-set-breakpoint "jdb set
breakpoint" "stop at" #2 nil] #1 [object jde-jdb-cmd-print "jdb print cmd" "print" #2 ""] [object
jde-jdb-cmd-dump "jdb dump cmd" "dump" #2 ""] [object jde-jdb-cmd-eval "jdb eval cmd" "eval" #2 ""]
[object jde-jdb-cmd-set-var "jdb set cmd" "set" #2 "" "null"] [object jde-jdb-cmd-locals "jdb locals
cmd" "locals" #2 ""]] nil #1 [object jde-jdb-debuggee-app "debuggee" [object jde-db-debuggee-status
"jdb status" t t nil] "" "Attached to socket localhost:8787" [object jde-db-socket-attach-connector
"connector" "8787" "localhost"]] "jdb" "/usr/java/latest/bin/jdb" [object
jde-jdb-breakpoint-listener "jdb breakpoint
listener" #2 "^.*: \"thread=.*\", \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(),
line=\\([0-9,.\240]*\\)" 3 5 "^Breakpoint hit: .*(pc \\([0-9]*\\))" ""]] nil] "> "))
eieio-generic-call-primary-only(jde-db-cmd-notify-response ([object
jde-jdb-cmd-clear-breakpoint "jdb clear breakpoint" "clear" [object jde-db-jdb-1-6 "jdb 1.6" "jdb"
"*debug localhost:8787*" #<buffer *debug localhost:8787*> #<process *debug localhost:8787*> t
unbound ... [object jde-jdb-cmd-set "jdb commands" #2 [object jde-jdb-cmd-launch-app "launch"
"launch application in jdb debug mode" #2 unbound] [object jde-jdb-cmd-launch-applet "launch"
"launch applet in jdb debug mode" #2 unbound] [object jde-jdb-cmd-run "run" "run" #2] [object
jde-jdb-cmd-cont "cont" "cont" #2] [object jde-jdb-cmd-quit "jdb quit" "quit" #2] [object
jde-jdb-cmd-step-over "jdb step-over cmd" "next" #2] [object jde-jdb-cmd-step-into "jdb step-into
cmd" "step" #2] [object jde-jdb-cmd-step-out "jdb step-out cmd" "st
ep up" #2] [object jde-jdb-cmd-up "jdb up cmd" "up" #2] [object jde-jdb-cmd-down "jdb down cmd" "down" #2]
[object jde-jdb-cmd-where "jdb where cmd" "where" #2] [object jde-jdb-cmd-set-breakpoint "jdb set
breakpoint" "stop at" #2 nil] #1 [object jde-jdb-cmd-print "jdb print cmd" "print" #2 ""] [object
jde-jdb-cmd-dump "jdb dump cmd" "dump" #2 ""] [object jde-jdb-cmd-eval "jdb eval cmd" "eval" #2 ""]
[object jde-jdb-cmd-set-var "jdb set cmd" "set" #2 "" "null"] [object jde-jdb-cmd-locals "jdb locals
cmd" "locals" #2 ""]] nil #1 [object jde-jdb-debuggee-app "debuggee" [object jde-db-debuggee-status
"jdb status" t t nil] "" "Attached to socket localhost:8787" [object jde-db-socket-attach-connector
"connector" "8787" "localhost"]] "jdb" "/usr/java/latest/bin/jdb" [object jde-jdb-breakpoint-l
istener "jdb breakpoint listener" #2 "^.*: \"thread=.*\",
\\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9,.\240]*\\)" 3 5 "^Breakpoint hit:
.*(pc \\([0-9]*\\))" ""]] nil] "> "))
jde-db-cmd-notify-response([object jde-jdb-cmd-clear-breakpoint "jdb clear breakpoint" "clear"
[object jde-db-jdb-1-6 "jdb 1.6" "jdb" "*debug localhost:8787*" #<buffer *debug localhost:8787*>
#<process *debug localhost:8787*> t unbound ([object jde-jdb-stack-listener "jdb stack listener" #1
""] [object jde-jdb-breakpoint-listener "jdb breakpoint listener" #1 "^.*: \"thread=.*\",
\\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(), line=\\([0-9,.\240]*\\)" 3 5 "^Breakpoint hit:
.*(pc \\([0-9]*\\))" ""]) [object jde-jdb-cmd-set "jdb commands" #1 [object jde-jdb-cmd-launch-app
"launch" "launch application in jdb debug mode" #1 unbound] [object jde-jdb-cmd-launch-applet
"launch" "launch applet in jdb debug mode" #1 unbound] [object jde-jdb-cmd-run "run" "run" #1] [object
jde-jdb-cmd-cont "cont" "
cont" #1] [object jde-jdb-cmd-quit "jdb quit" "quit" #1] [object jde-jdb-cmd-step-over "jdb step-over
cmd" "next" #1] [object jde-jdb-cmd-step-into "jdb step-into cmd" "step" #1] [object
jde-jdb-cmd-step-out "jdb step-out cmd" "step up" #1] [object jde-jdb-cmd-up "jdb up cmd" "up" #1]
[object jde-jdb-cmd-down "jdb down cmd" "down" #1] [object jde-jdb-cmd-where "jdb where cmd" "where"
#1] [object jde-jdb-cmd-set-breakpoint "jdb set breakpoint" "stop at" #1 nil] #0 [object
jde-jdb-cmd-print "jdb print cmd" "print" #1 ""] [object jde-jdb-cmd-dump "jdb dump cmd" "dump" #1 ""]
[object jde-jdb-cmd-eval "jdb eval cmd" "eval" #1 ""] [object jde-jdb-cmd-set-var "jdb set cmd" "set"
#1 "" "null"] [object jde-jdb-cmd-locals "jdb locals cmd" "locals" #1 ""]] nil #0 [object
jde-jdb-debuggee-app "debug
gee" [object jde-db-debuggee-status "jdb status" t t nil] "" "Attached to socket localhost:8787"
[object jde-db-socket-attach-connector "connector" "8787" "localhost"]] "jdb"
"/usr/java/latest/bin/jdb" [object jde-jdb-breakpoint-listener "jdb breakpoint listener" #1
"^.*: \"thread=.*\", \\(\\(.*[.]\\)*\\)\\([^$]*\\)\\($.*\\)*[.].+(),
line=\\([0-9,.\240]*\\)" 3 5 "^Breakpoint hit: .*(pc \\([0-9]*\\))" ""]] nil] "> ")
#[(this output) "\306\307\310Q!\210\311 \312\"\311 \304\"\311 \302\"\f\313:\2038