class DebugProvider extends Cancelable with LogForwarder

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DebugProvider
  2. LogForwarder
  3. Cancelable
  4. AnyRef
  5. 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, workDoneProgress: WorkDoneProgress, sourceMapper: SourceMapper, userConfig: () => UserConfiguration, testProvider: TestSuitesProvider)(implicit ec: ExecutionContext)

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 error(message: String): Unit
    Definition Classes
    DebugProviderLogForwarder
  17. def findMainClassAndItsBuildTarget(params: DebugUnresolvedMainClassParams): Try[List[(ScalaMainClass, BuildTarget)]]
  18. def findTestClassAndItsBuildTarget(params: DebugUnresolvedTestClassParams): Try[List[(String, BuildTarget)]]
  19. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  21. def info(message: String): Unit
    Definition Classes
    DebugProviderLogForwarder
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def log(message: String): Unit
    Definition Classes
    LogForwarder
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  27. def retryAfterRebuild[A](previousResult: Try[A], f: () => Try[A])(implicit ec: ExecutionContext): Future[Try[A]]
  28. 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.

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

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 LogForwarder

Inherited from Cancelable

Inherited from AnyRef

Inherited from Any

Ungrouped