dape
dape copied to clipboard
how to use dape with junit in java-debug
Sorry for asking this question here. Since I can't the solution anywhere. I made the dape works when java class has the static main method . but it breaks when i called dape and use jdtls in a test class. and i got this error message:
jsonrpc-request: jsonrpc-error: "request id=116 failed:", (jsonrpc-error-code . -32001), (jsonrpc-error-message . "Cannot invoke \"org.eclipse.jdt.core.search.SearchPattern.findIndexMatches(org.eclipse.jdt.internal.core.index.Index, org.eclipse.jdt.internal.core.search.IndexQueryRequestor, org.eclipse.jdt.core.search.SearchParticipant, org.eclipse.jdt.core.search.IJavaSearchScope, org.eclipse.core.runtime.IProgressMonitor)\" because \"pattern\" is null"), (jsonrpc-error-data :message "Cannot invoke \"org.eclipse.jdt.core.search.SearchPattern.findIndexMatches(org.eclipse.jdt.internal.core.index.Index, org.eclipse.jdt.internal.core.search.IndexQueryRequestor, org.eclipse.jdt.core.search.SearchParticipant, org.eclipse.jdt.core.search.IJavaSearchScope, org.eclipse.core.runtime.IProgressMonitor)\" because \"pattern\" is null")