class DebugProvider extends AnyRef
- Alphabetic
- By Inheritance
- DebugProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new DebugProvider(workspace: io.AbsolutePath, definitionProvider: DefinitionProvider, buildServerConnect: () => Option[BuildServerConnection], buildTargets: BuildTargets, buildTargetClasses: BuildTargetClasses, compilations: Compilations, languageClient: MetalsLanguageClient, buildClient: MetalsBuildClient, classFinder: ClassFinder, index: OnDemandSymbolIndex, stacktraceAnalyzer: StacktraceAnalyzer, clientConfig: ClientConfiguration, semanticdbs: Semanticdbs, compilers: Compilers, supportsTestSelection: () => Boolean, statusBar: StatusBar)
- supportsTestSelection
test selection hasn't been defined in BSP spec yet. Currently it is supported only by bloop.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val buildTargetClassesFinder: BuildTargetClassesFinder
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def debugDiscovery(params: DebugDiscoveryParams)(implicit ec: ExecutionContext): Future[DebugSessionParams]
Given fully unresolved params this figures out the runType that was passed in and then discovers either the main methods for the build target the path belongs to or finds the tests for the current file or build target
- def ensureNoWorkspaceErrors(params: DebugSessionParams)(implicit ec: ExecutionContext): Future[DebugSessionParams]
When given the already formed params (most likely from a code lens) make sure the workspace doesn't have any errors which would cause the debug session to not actually work, but fail silently.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def resolveAttachRemoteParams(params: DebugUnresolvedAttachRemoteParams)(implicit ec: ExecutionContext): Future[DebugSessionParams]
- def resolveMainClassParams(params: DebugUnresolvedMainClassParams)(implicit ec: ExecutionContext): Future[DebugSessionParams]
- def resolveTestClassParams(params: DebugUnresolvedTestClassParams)(implicit ec: ExecutionContext): Future[DebugSessionParams]
- def resolveTestSelectionParams(request: ScalaTestSuitesDebugRequest): Future[DebugSessionParams]
Validate if build target provided in params exists.
Validate if build target provided in params exists. On the contrary, test classes aren't validated.
If build tool doesn't support test selection fallback to the already defined and supported SCALA_TEST_SUITES request kind.
- def start(parameters: DebugSessionParams, scalaVersionSelector: ScalaVersionSelector)(implicit ec: ExecutionContext): Future[DebugServer]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()