class DebugProvider extends Cancelable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DebugProvider
  2. Cancelable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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, userConfig: () => UserConfiguration, testProvider: TestSuitesProvider)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asSession(debugParams: DebugSessionParams)(implicit ec: ExecutionContext): Future[DebugSession]
  6. def buildMainClassParams(foundClasses: List[(ScalaMainClass, BuildTarget)], params: DebugUnresolvedMainClassParams)(implicit ec: ExecutionContext): Future[DebugSessionParams]
  7. lazy val buildTargetClassesFinder: BuildTargetClassesFinder
  8. def buildTestClassParams(targets: List[(String, BuildTarget)], params: DebugUnresolvedTestClassParams)(implicit ec: ExecutionContext): Future[DebugSessionParams]
  9. def cancel(): Unit
    Definition Classes
    DebugProviderCancelable
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  11. def createDebugSession(target: BuildTargetIdentifier): Future[DebugSessionParams]
  12. 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

  13. 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.

  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def findMainClassAndItsBuildTarget(params: DebugUnresolvedMainClassParams): Try[List[(ScalaMainClass, BuildTarget)]]
  17. def findTestClassAndItsBuildTarget(params: DebugUnresolvedTestClassParams): Try[List[(String, BuildTarget)]]
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. def retryAfterRebuild[A](previousResult: Try[A], f: () => Try[A])(implicit ec: ExecutionContext): Future[Try[A]]
  25. def runCommandDiscovery(unresolvedParams: DebugDiscoveryParams)(implicit ec: ExecutionContext): Future[DebugSessionParams]

    Tries to discover the main class to run and returns DebugSessionParams that contains the shellCommand field.

    Tries to discover the main class to run and returns DebugSessionParams that contains the shellCommand field. This is used so that clients can easily run the full command if they want.

  26. def start(parameters: DebugSessionParams, cancelPromise: Promise[Unit])(implicit ec: ExecutionContext): Future[DebugServer]
  27. def startTestSuite(buildTarget: BuildTarget, request: ScalaTestSuitesDebugRequest)(implicit ec: ExecutionContext): Future[DebugSessionParams]
  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Cancelable

Inherited from AnyRef

Inherited from Any

Ungrouped