class DebugProvider extends Cancelable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DebugProvider
- Cancelable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DebugProvider(workspace: io.AbsolutePath, buildTargets: BuildTargets, buildTargetClasses: BuildTargetClasses, compilations: Compilations, languageClient: MetalsLanguageClient, buildClient: MetalsBuildClient, index: OnDemandSymbolIndex, stacktraceAnalyzer: StacktraceAnalyzer, clientConfig: ClientConfiguration, semanticdbs: Semanticdbs, compilers: Compilers, statusBar: StatusBar, sourceMapper: SourceMapper)
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 cancel(): Unit
- Definition Classes
- DebugProvider → Cancelable
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- 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(buildTargets: Seq[BuildTargetIdentifier])(implicit ec: ExecutionContext): Future[Unit]
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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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)(implicit ec: ExecutionContext): 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)(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(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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated