emacs-lsp/lsp-java

Dap-mode cause emacs freeze

huangfeiyu opened this issue · 2 comments

This happens frequently in several situation, sometimes it happens just after the program run to a breakpoint. Sometimes when I expand Local in dap-ui-local buffer, or scroll mouse in the dap-ui-local buffer. One thing I noticed is that when I expand the root of Local, it tend to expand all of it sub node and the sub nodes of sub nodes and so on. Here's a stacktrac when I expand node in this window.

Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")
  assoc-delete-all(#<buffer  *temp*-583267> ((#<buffer MultiplePaymentImpl.java> #<marker at 2063 in MultiplePaymentImpl.java> #<marker at 2063 in MultiplePaymentImpl.java>)) eq)
  assq-delete-all(#<buffer  *temp*-583267> ((#<buffer MultiplePaymentImpl.java> #<marker at 2063 in MultiplePaymentImpl.java> #<marker at 2063 in MultiplePaymentImpl.java>)))
  unrecord-window-buffer(#<window 68 on  *dap-ui*> #<buffer  *temp*-583267>)
  replace-buffer-in-windows(#<buffer  *temp*-583267>)
  kill-buffer(#<buffer  *temp*-583267>)
  #f(compiled-function () #<bytecode 0x155c89b97211>)()
  json-read-from-string("\"command\"")
  json-encode-key(:command)
  json-encode-plist((:command "variables" :arguments (:variablesReference 817 :start 0 :filter "indexed" :count 2 :start 0 :filter "named" :count -1) :type "request" :seq 1977))
  json-encode-list((:command "variables" :arguments (:variablesReference 817 :start 0 :filter "indexed" :count 2 :start 0 :filter "named" :count -1) :type "request" :seq 1977))
  json-encode((:command "variables" :arguments (:variablesReference 817 :start 0 :filter "indexed" :count 2 :start 0 :filter "named" :count -1) :type "request" :seq 1977))
  dap--json-encode((:command "variables" :arguments (:variablesReference 817 :start 0 :filter "indexed" :count 2 :start 0 :filter "named" :count -1) :type "request" :seq 1977))
  dap--make-message((:command "variables" :arguments (:variablesReference 817 :start 0 :filter "indexed" :count 2 :start 0 :filter "named" :count -1) :type "request" :seq 1977))
  dap--send-message((:command "variables" :arguments (:variablesReference 817 :start 0 :filter "indexed" :count 2 :start 0 :filter "named" :count -1) :type "request" :seq 1977) #f(compiled-function (res) #<bytecode 0x155c89b971f1>) #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser #s(dap--parser :waiting-for-response nil :response-result nil :headers nil :body nil :reading-body nil :body-length nil :body-received nil :leftovers "") :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads (#<hash-table equal 2/65 0x155c84c1d9d9> #<hash-table equal 2/65 0x155c84c1da7d> #<hash-table equal 2/65 0x155c84c1dec1> #<hash-table equal 2/65 0x155c84c1da9d> #<hash-table equal 2/65 0x155c84c1dabd> #<hash-table equal 2/65 0x155c84c1dadd> #<hash-table equal 2/65 0x155c8a47d0ad> #<hash-table equal 2/65 0x155c8a47ccad> #<hash-table equal 2/65 0x155c89bbc2b5> #<hash-table equal 2/65 0x155c89bbc5ad> #<hash-table equal 2/65 0x155c89bbc7dd> #<hash-table equal 2/65 0x155c89bbc7fd> #<hash-table equal 2/65 0x155c89bbc81d> #<hash-table equal 2/65 0x155c8655c72d> #<hash-table equal 2/65 0x155c89bbc83d> #<hash-table equal 2/65 0x155c89bbc85d> #<hash-table equal 2/65 0x155c8655cf2d> #<hash-table equal 2/65 0x155c867a1fb5> #<hash-table equal 2/65 0x155c867a2355> #<hash-table equal 2/65 0x155c867a2375> #<hash-table equal 2/65 0x155c867a27b5> #<hash-table equal 2/65 0x155c861b6fa5> #<hash-table equal 2/65 0x155c867a2395> #<hash-table equal 2/65 0x155c867a23b5> #<hash-table equal 2/65 0x155c861b73a5> #<hash-table equal 2/65 0x155c87391a59> #<hash-table equal 2/65 0x155c87391d31> #<hash-table equal 2/65 0x155c87391dd5> #<hash-table equal 2/65 0x155c87392219> #<hash-table equal 2/65 0x155c87391df5> #<hash-table equal 2/65 0x155c87391e15> #<hash-table equal 2/65 0x155c87391e35> #<hash-table equal 2/65 0x155c8a752fa1> #<hash-table equal 2/65 0x155c8a752ba1> #<hash-table equal 2/65 0x155c86d62d75> #<hash-table equal 2/65 0x155c86d6306d> #<hash-table equal 2/65 0x155c86d6329d> #<hash-table equal 2/65 0x155c86d632bd> #<hash-table equal 2/65 0x155c86d632dd> #<hash-table equal 2/65 0x155c871b57b1> #<hash-table equal 2/65 0x155c86d632fd> #<hash-table equal 2/65 0x155c86d6331d> #<hash-table equal 2/65 0x155c871b5fb1> #<hash-table equal 2/65 0x155c85f4c7c5> #<hash-table equal 2/65 0x155c85f4cb65> #<hash-table equal 2/65 0x155c85f4cb85> #<hash-table equal 2/65 0x155c85f4cfc5> #<hash-table equal 2/65 0x155c892e6d75> #<hash-table equal 2/65 0x155c85f4cba5> #<hash-table equal 2/65 0x155c85f4cbc5> ...) :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args (:name "Java Attach<2>" :type "java" :request "attach" :hostName "localhost" :projectName "jdt.ls-java-project" :port 11550 :host "localhost" :debugServer 35773 :__sessionId "1685614145.5834475") :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil))
  dap-request(#s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser #s(dap--parser :waiting-for-response nil :response-result nil :headers nil :body nil :reading-body nil :body-length nil :body-received nil :leftovers "") :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads (#<hash-table equal 2/65 0x155c84c1d9d9> #<hash-table equal 2/65 0x155c84c1da7d> #<hash-table equal 2/65 0x155c84c1dec1> #<hash-table equal 2/65 0x155c84c1da9d> #<hash-table equal 2/65 0x155c84c1dabd> #<hash-table equal 2/65 0x155c84c1dadd> #<hash-table equal 2/65 0x155c8a47d0ad> #<hash-table equal 2/65 0x155c8a47ccad> #<hash-table equal 2/65 0x155c89bbc2b5> #<hash-table equal 2/65 0x155c89bbc5ad> #<hash-table equal 2/65 0x155c89bbc7dd> #<hash-table equal 2/65 0x155c89bbc7fd> #<hash-table equal 2/65 0x155c89bbc81d> #<hash-table equal 2/65 0x155c8655c72d> #<hash-table equal 2/65 0x155c89bbc83d> #<hash-table equal 2/65 0x155c89bbc85d> #<hash-table equal 2/65 0x155c8655cf2d> #<hash-table equal 2/65 0x155c867a1fb5> #<hash-table equal 2/65 0x155c867a2355> #<hash-table equal 2/65 0x155c867a2375> #<hash-table equal 2/65 0x155c867a27b5> #<hash-table equal 2/65 0x155c861b6fa5> #<hash-table equal 2/65 0x155c867a2395> #<hash-table equal 2/65 0x155c867a23b5> #<hash-table equal 2/65 0x155c861b73a5> #<hash-table equal 2/65 0x155c87391a59> #<hash-table equal 2/65 0x155c87391d31> #<hash-table equal 2/65 0x155c87391dd5> #<hash-table equal 2/65 0x155c87392219> #<hash-table equal 2/65 0x155c87391df5> #<hash-table equal 2/65 0x155c87391e15> #<hash-table equal 2/65 0x155c87391e35> #<hash-table equal 2/65 0x155c8a752fa1> #<hash-table equal 2/65 0x155c8a752ba1> #<hash-table equal 2/65 0x155c86d62d75> #<hash-table equal 2/65 0x155c86d6306d> #<hash-table equal 2/65 0x155c86d6329d> #<hash-table equal 2/65 0x155c86d632bd> #<hash-table equal 2/65 0x155c86d632dd> #<hash-table equal 2/65 0x155c871b57b1> #<hash-table equal 2/65 0x155c86d632fd> #<hash-table equal 2/65 0x155c86d6331d> #<hash-table equal 2/65 0x155c871b5fb1> #<hash-table equal 2/65 0x155c85f4c7c5> #<hash-table equal 2/65 0x155c85f4cb65> #<hash-table equal 2/65 0x155c85f4cb85> #<hash-table equal 2/65 0x155c85f4cfc5> #<hash-table equal 2/65 0x155c892e6d75> #<hash-table equal 2/65 0x155c85f4cba5> #<hash-table equal 2/65 0x155c85f4cbc5> ...) :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args (:name "Java Attach<2>" :type "java" :request "attach" :hostName "localhost" :projectName "jdt.ls-java-project" :port 11550 :host "localhost" :debugServer 35773 :__sessionId "1685614145.5834475") :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) "variables" :variablesReference 817 :start 0 :filter "indexed" :count 2 :start 0 :filter "named" :count -1)
  apply(dap-request #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser #s(dap--parser :waiting-for-response nil :response-result nil :headers nil :body nil :reading-body nil :body-length nil :body-received nil :leftovers "") :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads (#<hash-table equal 2/65 0x155c84c1d9d9> #<hash-table equal 2/65 0x155c84c1da7d> #<hash-table equal 2/65 0x155c84c1dec1> #<hash-table equal 2/65 0x155c84c1da9d> #<hash-table equal 2/65 0x155c84c1dabd> #<hash-table equal 2/65 0x155c84c1dadd> #<hash-table equal 2/65 0x155c8a47d0ad> #<hash-table equal 2/65 0x155c8a47ccad> #<hash-table equal 2/65 0x155c89bbc2b5> #<hash-table equal 2/65 0x155c89bbc5ad> #<hash-table equal 2/65 0x155c89bbc7dd> #<hash-table equal 2/65 0x155c89bbc7fd> #<hash-table equal 2/65 0x155c89bbc81d> #<hash-table equal 2/65 0x155c8655c72d> #<hash-table equal 2/65 0x155c89bbc83d> #<hash-table equal 2/65 0x155c89bbc85d> #<hash-table equal 2/65 0x155c8655cf2d> #<hash-table equal 2/65 0x155c867a1fb5> #<hash-table equal 2/65 0x155c867a2355> #<hash-table equal 2/65 0x155c867a2375> #<hash-table equal 2/65 0x155c867a27b5> #<hash-table equal 2/65 0x155c861b6fa5> #<hash-table equal 2/65 0x155c867a2395> #<hash-table equal 2/65 0x155c867a23b5> #<hash-table equal 2/65 0x155c861b73a5> #<hash-table equal 2/65 0x155c87391a59> #<hash-table equal 2/65 0x155c87391d31> #<hash-table equal 2/65 0x155c87391dd5> #<hash-table equal 2/65 0x155c87392219> #<hash-table equal 2/65 0x155c87391df5> #<hash-table equal 2/65 0x155c87391e15> #<hash-table equal 2/65 0x155c87391e35> #<hash-table equal 2/65 0x155c8a752fa1> #<hash-table equal 2/65 0x155c8a752ba1> #<hash-table equal 2/65 0x155c86d62d75> #<hash-table equal 2/65 0x155c86d6306d> #<hash-table equal 2/65 0x155c86d6329d> #<hash-table equal 2/65 0x155c86d632bd> #<hash-table equal 2/65 0x155c86d632dd> #<hash-table equal 2/65 0x155c871b57b1> #<hash-table equal 2/65 0x155c86d632fd> #<hash-table equal 2/65 0x155c86d6331d> #<hash-table equal 2/65 0x155c871b5fb1> #<hash-table equal 2/65 0x155c85f4c7c5> #<hash-table equal 2/65 0x155c85f4cb65> #<hash-table equal 2/65 0x155c85f4cb85> #<hash-table equal 2/65 0x155c85f4cfc5> #<hash-table equal 2/65 0x155c892e6d75> #<hash-table equal 2/65 0x155c85f4cba5> #<hash-table equal 2/65 0x155c85f4cbc5> ...) :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args (:name "Java Attach<2>" :type "java" :request "attach" :hostName "localhost" :projectName "jdt.ls-java-project" :port 11550 :host "localhost" :debugServer 35773 :__sessionId "1685614145.5834475") :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) "variables" :variablesReference 817 (:start 0 :filter "indexed" :count 2 :start 0 :filter "named" :count -1))
  dap-ui-render-variables(#s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser #s(dap--parser :waiting-for-response nil :response-result nil :headers nil :body nil :reading-body nil :body-length nil :body-received nil :leftovers "") :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads (#<hash-table equal 2/65 0x155c84c1d9d9> #<hash-table equal 2/65 0x155c84c1da7d> #<hash-table equal 2/65 0x155c84c1dec1> #<hash-table equal 2/65 0x155c84c1da9d> #<hash-table equal 2/65 0x155c84c1dabd> #<hash-table equal 2/65 0x155c84c1dadd> #<hash-table equal 2/65 0x155c8a47d0ad> #<hash-table equal 2/65 0x155c8a47ccad> #<hash-table equal 2/65 0x155c89bbc2b5> #<hash-table equal 2/65 0x155c89bbc5ad> #<hash-table equal 2/65 0x155c89bbc7dd> #<hash-table equal 2/65 0x155c89bbc7fd> #<hash-table equal 2/65 0x155c89bbc81d> #<hash-table equal 2/65 0x155c8655c72d> #<hash-table equal 2/65 0x155c89bbc83d> #<hash-table equal 2/65 0x155c89bbc85d> #<hash-table equal 2/65 0x155c8655cf2d> #<hash-table equal 2/65 0x155c867a1fb5> #<hash-table equal 2/65 0x155c867a2355> #<hash-table equal 2/65 0x155c867a2375> #<hash-table equal 2/65 0x155c867a27b5> #<hash-table equal 2/65 0x155c861b6fa5> #<hash-table equal 2/65 0x155c867a2395> #<hash-table equal 2/65 0x155c867a23b5> #<hash-table equal 2/65 0x155c861b73a5> #<hash-table equal 2/65 0x155c87391a59> ...) :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args (:name "Java Attach<2>" :type "java" :request "attach" :hostName "localhost" :projectName "jdt.ls-java-project" :port 11550 :host "localhost" :debugServer 35773 :__sessionId "1685614145.5834475") :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) 817 3 0 (:label #("annotations: LinkedHashMap..." 0 11 (face font-lock-variable-name-face) 13 38 (help-echo "LinkedHashMap@1039 size=3")) :icon dap-variable :value "LinkedHashMap@1039 size=3" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser #s(dap--parser :waiting-for-response nil :response-result nil :headers nil :body nil :reading-body nil :body-length nil :body-received nil :leftovers "") :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads (#<hash-table equal 2/65 0x155c84c1d9d9> #<hash-table equal 2/65 0x155c84c1da7d> #<hash-table equal 2/65 0x155c84c1dec1> #<hash-table equal 2/65 0x155c84c1da9d> #<hash-table equal 2/65 0x155c84c1dabd> #<hash-table equal 2/65 0x155c84c1dadd> #<hash-table equal 2/65 0x155c8a47d0ad> #<hash-table equal 2/65 0x155c8a47ccad> #<hash-table equal 2/65 0x155c89bbc2b5> #<hash-table equal 2/65 0x155c89bbc5ad> #<hash-table equal 2/65 0x155c89bbc7dd> #<hash-table equal 2/65 0x155c89bbc7fd> #<hash-table equal 2/65 0x155c89bbc81d> #<hash-table equal 2/65 0x155c8655c72d> #<hash-table equal 2/65 0x155c89bbc83d> #<hash-table equal 2/65 0x155c89bbc85d> #<hash-table equal 2/65 0x155c8655cf2d> #<hash-table equal 2/65 0x155c867a1fb5> #<hash-table equal 2/65 0x155c867a2355> #<hash-table equal 2/65 0x155c867a2375> #<hash-table equal 2/65 0x155c867a27b5> #<hash-table equal 2/65 0x155c861b6fa5> #<hash-table equal 2/65 0x155c867a2395> #<hash-table equal 2/65 0x155c867a23b5> #<hash-table equal 2/65 0x155c861b73a5> #<hash-table equal 2/65 0x155c87391a59> ...) :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args (:name "Java Attach<2>" :type "java" :request "attach" :hostName "localhost" :projectName "jdt.ls-java-project" :port 11550 :host "localhost" :debugServer 35773 :__sessionId "1685614145.5834475") :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 817 :name "annotations" :actions '(...) :key "annotations" :children #f(compiled-function (&rest args2) #<bytecode 0x155c8c449031>)))
  apply(dap-ui-render-variables (#s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser #s(dap--parser :waiting-for-response nil :response-result nil :headers nil :body nil :reading-body nil :body-length nil :body-received nil :leftovers "") :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads (#<hash-table equal 2/65 0x155c84c1d9d9> #<hash-table equal 2/65 0x155c84c1da7d> #<hash-table equal 2/65 0x155c84c1dec1> #<hash-table equal 2/65 0x155c84c1da9d> #<hash-table equal 2/65 0x155c84c1dabd> #<hash-table equal 2/65 0x155c84c1dadd> #<hash-table equal 2/65 0x155c8a47d0ad> #<hash-table equal 2/65 0x155c8a47ccad> #<hash-table equal 2/65 0x155c89bbc2b5> #<hash-table equal 2/65 0x155c89bbc5ad> #<hash-table equal 2/65 0x155c89bbc7dd> #<hash-table equal 2/65 0x155c89bbc7fd> #<hash-table equal 2/65 0x155c89bbc81d> #<hash-table equal 2/65 0x155c8655c72d> #<hash-table equal 2/65 0x155c89bbc83d> #<hash-table equal 2/65 0x155c89bbc85d> #<hash-table equal 2/65 0x155c8655cf2d> #<hash-table equal 2/65 0x155c867a1fb5> #<hash-table equal 2/65 0x155c867a2355> #<hash-table equal 2/65 0x155c867a2375> #<hash-table equal 2/65 0x155c867a27b5> #<hash-table equal 2/65 0x155c861b6fa5> #<hash-table equal 2/65 0x155c867a2395> #<hash-table equal 2/65 0x155c867a23b5> #<hash-table equal 2/65 0x155c861b73a5> #<hash-table equal 2/65 0x155c87391a59> ...) :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args (:name "Java Attach<2>" :type "java" :request "attach" :hostName "localhost" :projectName "jdt.ls-java-project" :port 11550 :host "localhost" :debugServer 35773 :__sessionId "1685614145.5834475") :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) 817 3 0 (:label #("annotations: LinkedHashMap..." 0 11 ... 13 38 ...) :icon dap-variable :value "LinkedHashMap@1039 size=3" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser ... :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads ... :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args ... :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 817 :name "annotations" :actions '... :key "annotations" :children #f(compiled-function (&rest args2) #<bytecode 0x155c8c449031>))))
  #f(compiled-function (&rest args2) #<bytecode 0x155c8c449031>)((:label #("annotations: LinkedHashMap@1039 size=3" 0 11 (face font-lock-variable-name-face) 13 38 (help-echo "LinkedHashMap@1039 size=3")) :icon dap-variable :value "LinkedHashMap@1039 size=3" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser #s(dap--parser :waiting-for-response nil :response-result nil :headers nil :body nil :reading-body nil :body-length nil :body-received nil :leftovers "") :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads (#<hash-table equal 2/65 0x155c84c1d9d9> #<hash-table equal 2/65 0x155c84c1da7d> #<hash-table equal 2/65 0x155c84c1dec1> #<hash-table equal 2/65 0x155c84c1da9d> #<hash-table equal 2/65 0x155c84c1dabd> #<hash-table equal 2/65 0x155c84c1dadd> #<hash-table equal 2/65 0x155c8a47d0ad> #<hash-table equal 2/65 0x155c8a47ccad> #<hash-table equal 2/65 0x155c89bbc2b5> #<hash-table equal 2/65 0x155c89bbc5ad> #<hash-table equal 2/65 0x155c89bbc7dd> #<hash-table equal 2/65 0x155c89bbc7fd> #<hash-table equal 2/65 0x155c89bbc81d> #<hash-table equal 2/65 0x155c8655c72d> #<hash-table equal 2/65 0x155c89bbc83d> #<hash-table equal 2/65 0x155c89bbc85d> #<hash-table equal 2/65 0x155c8655cf2d> #<hash-table equal 2/65 0x155c867a1fb5> #<hash-table equal 2/65 0x155c867a2355> #<hash-table equal 2/65 0x155c867a2375> #<hash-table equal 2/65 0x155c867a27b5> #<hash-table equal 2/65 0x155c861b6fa5> #<hash-table equal 2/65 0x155c867a2395> #<hash-table equal 2/65 0x155c867a23b5> #<hash-table equal 2/65 0x155c861b73a5> #<hash-table equal 2/65 0x155c87391a59> #<hash-table equal 2/65 0x155c87391d31> #<hash-table equal 2/65 0x155c87391dd5> #<hash-table equal 2/65 0x155c87392219> #<hash-table equal 2/65 0x155c87391df5> #<hash-table equal 2/65 0x155c87391e15> #<hash-table equal 2/65 0x155c87391e35> #<hash-table equal 2/65 0x155c8a752fa1> #<hash-table equal 2/65 0x155c8a752ba1> #<hash-table equal 2/65 0x155c86d62d75> #<hash-table equal 2/65 0x155c86d6306d> #<hash-table equal 2/65 0x155c86d6329d> #<hash-table equal 2/65 0x155c86d632bd> #<hash-table equal 2/65 0x155c86d632dd> #<hash-table equal 2/65 0x155c871b57b1> #<hash-table equal 2/65 0x155c86d632fd> #<hash-table equal 2/65 0x155c86d6331d> #<hash-table equal 2/65 0x155c871b5fb1> #<hash-table equal 2/65 0x155c85f4c7c5> #<hash-table equal 2/65 0x155c85f4cb65> #<hash-table equal 2/65 0x155c85f4cb85> #<hash-table equal 2/65 0x155c85f4cfc5> #<hash-table equal 2/65 0x155c892e6d75> #<hash-table equal 2/65 0x155c85f4cba5> #<hash-table equal 2/65 0x155c85f4cbc5> ...) :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args (:name "Java Attach<2>" :type "java" :request "attach" :hostName "localhost" :projectName "jdt.ls-java-project" :port 11550 :host "localhost" :debugServer 35773 :__sessionId "1685614145.5834475") :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 817 :name "annotations" :actions '(["Set value" dap-ui-set-variable-value]) :key "annotations" :children #f(compiled-function (&rest args2) #<bytecode 0x155c8c449031>)))
  #f(compiled-function (&optional btn item callback) #<bytecode 0x155c851ca6d1>)(#<marker (moves after insertion) at 43363 in *dap-ui-locals*> (:label #("annotations: LinkedHashMap@1039 size=3" 0 11 (face font-lock-variable-name-face) 13 38 (help-echo "LinkedHashMap@1039 size=3")) :icon dap-variable :value "LinkedHashMap@1039 size=3" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser #s(dap--parser :waiting-for-response nil :response-result nil :headers nil :body nil :reading-body nil :body-length nil :body-received nil :leftovers "") :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads (#<hash-table equal 2/65 0x155c84c1d9d9> #<hash-table equal 2/65 0x155c84c1da7d> #<hash-table equal 2/65 0x155c84c1dec1> #<hash-table equal 2/65 0x155c84c1da9d> #<hash-table equal 2/65 0x155c84c1dabd> #<hash-table equal 2/65 0x155c84c1dadd> #<hash-table equal 2/65 0x155c8a47d0ad> #<hash-table equal 2/65 0x155c8a47ccad> #<hash-table equal 2/65 0x155c89bbc2b5> #<hash-table equal 2/65 0x155c89bbc5ad> #<hash-table equal 2/65 0x155c89bbc7dd> #<hash-table equal 2/65 0x155c89bbc7fd> #<hash-table equal 2/65 0x155c89bbc81d> #<hash-table equal 2/65 0x155c8655c72d> #<hash-table equal 2/65 0x155c89bbc83d> #<hash-table equal 2/65 0x155c89bbc85d> #<hash-table equal 2/65 0x155c8655cf2d> #<hash-table equal 2/65 0x155c867a1fb5> #<hash-table equal 2/65 0x155c867a2355> #<hash-table equal 2/65 0x155c867a2375> #<hash-table equal 2/65 0x155c867a27b5> #<hash-table equal 2/65 0x155c861b6fa5> #<hash-table equal 2/65 0x155c867a2395> #<hash-table equal 2/65 0x155c867a23b5> #<hash-table equal 2/65 0x155c861b73a5> #<hash-table equal 2/65 0x155c87391a59> #<hash-table equal 2/65 0x155c87391d31> #<hash-table equal 2/65 0x155c87391dd5> #<hash-table equal 2/65 0x155c87392219> #<hash-table equal 2/65 0x155c87391df5> #<hash-table equal 2/65 0x155c87391e15> #<hash-table equal 2/65 0x155c87391e35> #<hash-table equal 2/65 0x155c8a752fa1> #<hash-table equal 2/65 0x155c8a752ba1> #<hash-table equal 2/65 0x155c86d62d75> #<hash-table equal 2/65 0x155c86d6306d> #<hash-table equal 2/65 0x155c86d6329d> #<hash-table equal 2/65 0x155c86d632bd> #<hash-table equal 2/65 0x155c86d632dd> #<hash-table equal 2/65 0x155c871b57b1> #<hash-table equal 2/65 0x155c86d632fd> #<hash-table equal 2/65 0x155c86d6331d> #<hash-table equal 2/65 0x155c871b5fb1> #<hash-table equal 2/65 0x155c85f4c7c5> #<hash-table equal 2/65 0x155c85f4cb65> #<hash-table equal 2/65 0x155c85f4cb85> #<hash-table equal 2/65 0x155c85f4cfc5> #<hash-table equal 2/65 0x155c892e6d75> #<hash-table equal 2/65 0x155c85f4cba5> #<hash-table equal 2/65 0x155c85f4cbc5> ...) :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args (:name "Java Attach<2>" :type "java" :request "attach" :hostName "localhost" :projectName "jdt.ls-java-project" :port 11550 :host "localhost" :debugServer 35773 :__sessionId "1685614145.5834475") :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 817 :name "annotations" :actions '(["Set value" dap-ui-set-variable-value]) :key "annotations" :children #f(compiled-function (&rest args2) #<bytecode 0x155c8c449031>)) #f(compiled-function (items) #<bytecode 0x155c89b9718d>))
  treemacs--do-expand-async-extension-node(#<marker (moves after insertion) at 43363 in *dap-ui-locals*> #s(treemacs-extension :name lsp-treemacs-generic-node :closed-state #f(compiled-function () #<bytecode 0x155c851f0815>) :open-state #f(compiled-function () #<bytecode 0x155c851f0825>) :closed-icon #f(compiled-function (&optional btn item) #<bytecode 0x155c851f0839>) :open-icon #f(compiled-function (&optional btn item) #<bytecode 0x155c851f084d>) :children #f(compiled-function (&optional btn item callback) #<bytecode 0x155c851ca6d1>) :key #f(compiled-function (&optional btn item) #<bytecode 0x155c851ca6e5>) :label #f(compiled-function (&optional btn item) #<bytecode 0x155c851ca6f9>) :more-properties #f(compiled-function (&optional btn item) #<bytecode 0x155c851ca709>) :child-type #f(compiled-function () #<bytecode 0x155c851ca719>) :variadic? nil :async? t :entry-point? nil) 871)
  treemacs-expand-extension-node(871)
  treemacs--do-expand-extension-node(#<marker (moves after insertion) at 43057 in *dap-ui-locals*> #s(treemacs-extension :name lsp-treemacs-generic-node :closed-state #f(compiled-function () #<bytecode 0x155c851f0815>) :open-state #f(compiled-function () #<bytecode 0x155c851f0825>) :closed-icon #f(compiled-function (&optional btn item) #<bytecode 0x155c851f0839>) :open-icon #f(compiled-function (&optional btn item) #<bytecode 0x155c851f084d>) :children #f(compiled-function (&optional btn item callback) #<bytecode 0x155c851ca6d1>) :key #f(compiled-function (&optional btn item) #<bytecode 0x155c851ca6e5>) :label #f(compiled-function (&optional btn item) #<bytecode 0x155c851ca6f9>) :more-properties #f(compiled-function (&optional btn item) #<bytecode 0x155c851ca709>) :child-type #f(compiled-function () #<bytecode 0x155c851ca719>) :variadic? nil :async? t :entry-point? nil) ((:label #("annotations: LinkedHashMap..." 0 11 ... 13 38 ...) :icon dap-variable :value "LinkedHashMap@1039 size=3" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser ... :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads ... :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args ... :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 817 :name "annotations" :actions '... :key "annotations" :children #f(compiled-function (&rest args2) #<bytecode 0x155c8c449031>)) (:label #("declaredAnnotations: Linke..." 0 19 ... 21 46 ...) :icon dap-variable :value "LinkedHashMap@1039 size=3" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser ... :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads ... :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args ... :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 818 :name "declaredAnnotations" :actions '... :key "declaredAnnotations" :children #f(compiled-function (&rest args2) #<bytecode 0x155c8c449081>)) (:label #("redefinedCount: 0" 0 14 ... 16 17 ...) :icon dap-variable :value "0" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser ... :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads ... :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args ... :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 0 :name "redefinedCount" :actions '... :key "redefinedCount")) 872)
  treemacs--complete-async-expand-callback(#<marker (moves after insertion) at 43057 in *dap-ui-locals*> ((:label #("annotations: LinkedHashMap..." 0 11 ... 13 38 ...) :icon dap-variable :value "LinkedHashMap@1039 size=3" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser ... :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads ... :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args ... :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 817 :name "annotations" :actions '... :key "annotations" :children #f(compiled-function (&rest args2) #<bytecode 0x155c8c449031>)) (:label #("declaredAnnotations: Linke..." 0 19 ... 21 46 ...) :icon dap-variable :value "LinkedHashMap@1039 size=3" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser ... :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads ... :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args ... :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 818 :name "declaredAnnotations" :actions '... :key "declaredAnnotations" :children #f(compiled-function (&rest args2) #<bytecode 0x155c8c449081>)) (:label #("redefinedCount: 0" 0 14 ... 16 17 ...) :icon dap-variable :value "0" :session #s(dap--debug-session :name "Java Attach<2>" :last-id 1977 :proc #<process Java Attach<2>> :response-handlers #<hash-table eql 1/65 0x155c87e5fae1> :parser ... :output-buffer #<buffer *Java Attach<2> out*> :thread-id 78 :workspace nil :threads ... :thread-states #<hash-table eql 16/65 0x155c87e5fb15> :active-frame-id nil :active-frame #<hash-table equal 5/65 0x155c8ac5685d> :cursor-marker nil :state running :breakpoints #<hash-table equal 3/65 0x155c87e5ff15> :thread-stack-frames #<hash-table eql 1/65 0x155c87e60315> :launch-args ... :local-to-remote-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa55>) :remote-to-local-path-fn #f(compiled-function (&rest args2) #<bytecode 0x155c87e5fa75>) :current-capabilities #<hash-table equal 16/65 0x155c8bef7091> :error-message nil :loaded-sources nil :program-proc nil :metadata #<hash-table eql 0/65 0x155c8bef70b1> :output-displayed nil) :variables-reference 0 :name "redefinedCount" :actions '... :key "redefinedCount")) #s(treemacs-extension :name lsp-treemacs-generic-node :closed-state #f(compiled-function () #<bytecode 0x155c851f0815>) :open-state #f(compiled-function () #<bytecode 0x155c851f0825>) :closed-icon #f(compiled-function (&optional btn item) #<bytecode 0x155c851f0839>) :open-icon #f(compiled-function (&optional btn item) #<bytecode 0x155c851f084d>) :children #f(compiled-function (&optional btn item callback) #<bytecode 0x155c851ca6d1>) :key #f(compiled-function (&optional btn item) #<bytecode 0x155c851ca6e5>) :label #f(compiled-function (&optional btn item) #<bytecode 0x155c851ca6f9>) :more-properties #f(compiled-function (&optional btn item) #<bytecode 0x155c851ca709>) :child-type #f(compiled-function () #<bytecode 0x155c851ca719>) :variadic? nil :async? t :entry-point? nil) 872)

Hi @yyoncho I saw you made change to improve dap-ui-locals, but it doesn't fix this issue. Is this a known issue (I know you mentioned the breaking change in treemacs), or it's an issue only to me? To me, lsp-mode and dap-mode both worked greatly before May 2022, then the new versions are not stable, especially the dap-mode, then after you upgrade lsp-java for new jdtls, code editing back to stable, but dap-mode keeps hanging.