ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { getActiveWindow } from '../../../../base/browser/dom.js';
import * as aria from '../../../../base/browser/ui/aria/aria.js';
import { mainWindow } from '../../../../base/browser/window.js';
import { distinct } from '../../../../base/common/arrays.js';
import { Queue, RunOnceScheduler, raceTimeout } from '../../../../base/common/async.js';
import { CancellationToken, CancellationTokenSource } from '../../../../base/common/cancellation.js';
import { canceled } from '../../../../base/common/errors.js';
Emitter Event
normalizeDriveLetter
Lazy
Disposable DisposableMap DisposableStore MutableDisposable dispose
mixin
platform
resources
Severity
isDefined
generateUuid
IPosition Position
localize
IAccessibilityService
IConfigurationService
IInstantiationService
ILogService
FocusMode
INotificationService
IProductService
ICustomEndpointTelemetryService ITelemetryService TelemetryLevel
IUriIdentityService
IWorkspaceContextService IWorkspaceFolder
ViewContainerLocation
IWorkbenchEnvironmentService
IHostService
ILifecycleService
IPaneCompositePartService
LiveTestResult
ITestResultService
ITestService
AdapterEndEvent IBreakpoint IConfig IDataBreakpoint IDataBreakpointInfoResponse IDebugConfiguration IDebugLocationReferenced IDebugService IDebugSession IDebugSessionOptions IDebugger IExceptionBreakpoint IExceptionInfo IFunctionBreakpoint IInstructionBreakpoint IMemoryRegion IRawModelUpdate IRawStoppedDetails IReplElement IStackFrame IThread LoadedSourceEvent State isFrameDeemphasized
DebugCompoundRoot
DebugModel ExpressionContainer MemoryRegion Thread
Source
filterExceptionsFromTelemetry
INewReplElementData ReplModel
RawDebugSession
parentSession IDebugSession
rememberedCapabilities DebugProtocolCapabilities
_subId
raw RawDebugSession
initialized
_options IDebugSessionOptions
sources
threads
threadIds
cancellationMap
rawListeners
globalDisposables
fetchThreadsScheduler
inst
rawListenersinst
inst
passFocusScheduler RunOnceScheduler
lastContinuedThreadId
repl ReplModel
stoppedDetails IRawStoppedDetails
statusQueue rawListeners
correlatedTestRun LiveTestResult
didTerminateTestRun
_onDidChangeState
_onDidEndAdapter
_onDidLoadedSource
_onDidCustomEvent
_onDidProgressStart
_onDidProgressUpdate
_onDidProgressEnd
_onDidInvalidMemory
_onDidChangeREPLElements
_name
_onDidChangeName
_waitToResume
id
_configuration resolved IConfig unresolved IConfig
root IWorkspaceFolder
model DebugModel
options IDebugSessionOptions
debugService IDebugService
telemetryService ITelemetryService
hostService IHostService
configurationService IConfigurationService
paneCompositeService IPaneCompositePartService
workspaceContextService IWorkspaceContextService
productService IProductService
notificationService INotificationService
lifecycleService ILifecycleService
uriIdentityService IUriIdentityService
instantiationService IInstantiationService
customEndpointTelemetryService ICustomEndpointTelemetryService
workbenchEnvironmentService IWorkbenchEnvironmentService
logService ILogService
testService ITestService
testResultService ITestResultService
accessibilityService IAccessibilityService
_options options
parentSession _optionsparentSession
repl configurationService
repl parentSession DebugSessionrepl
toDispose globalDisposables
replListener toDispose
replListenervalue reple _onDidChangeREPLElementse
lifecycleService
toDisposelifecycleService
toDispose
correlatedTestRun optionstestRun
testResultServiceoptionstestRunrunId LiveTestResult
parentSessioncorrelatedTestRun
correlatedTestRun
toDisposecorrelatedTestRun
compoundRoot _optionscompoundRoot
compoundRoot
toDisposecompoundRoot
passFocusScheduler
debugServices sstate StateStopped t tstopped
lastContinuedThreadId
thread debugServicefocusedThread
thread threadthreadId lastContinuedThreadId threadstopped
toFocusThreadId threadId
toFocusThread toFocusThreadId toFocusThreadId
debugService toFocusThread
session debugServicefocusedSession
session session sessionstate StateStopped
debugService
parent _optionsparentSession
parent
toDisposeparent
rawisInShutdown
repl repl
replListenervalue reple _onDidChangeREPLElementse
parentSession
id
subId
_subId subId
memoryReference IMemoryRegion
memoryReference
_subId
IConfig
_configurationresolved
IConfig
_configurationunresolved
_optionslifecycleManagedByParent
_optionscompact
_optionssaveBeforeRestart _optionsparentSession
DebugCompoundRoot
_optionscompoundRoot
_optionssuppressDebugStatusbar
_optionssuppressDebugToolbar
_optionssuppressDebugView
screenReaderOptimized accessibilityService
value configurationServiceautoExpandLazyVariables
value screenReaderOptimized value
configuration resolved IConfig unresolved IConfig
_configuration configuration
includeRoot workspaceContextServicefolderslength
includeRoot root name
name
_name name
_onDidChangeNamename
_name configurationname
State
initialized
StateInitializing
raw
StateInactive
focusedThread debugServicefocusedThread
focusedThread focusedThreadsession
focusedThreadstopped StateStopped StateRunning
t tstopped
StateStopped
StateRunning
DebugProtocolCapabilities
raw rawcapabilities Object
Event
_onDidChangeStateevent
EventAdapterEndEvent
_onDidEndAdapterevent
EventIReplElement
_onDidChangeREPLElementsevent
Event
_onDidChangeNameevent
EventDebugProtocolEvent
_onDidCustomEventevent
EventLoadedSourceEvent
_onDidLoadedSourceevent
EventDebugProtocolProgressStartEvent
_onDidProgressStartevent
EventDebugProtocolProgressUpdateEvent
_onDidProgressUpdateevent
EventDebugProtocolProgressEndEvent
_onDidProgressEndevent
EventDebugProtocolMemoryEvent
_onDidInvalidMemoryevent
dbgr IDebugger
raw
debugAdapter dbgr
raw instantiationServiceRawDebugSession debugAdapter dbgr id configurationname
raw
raw
clientID
clientName productServicenameLong
adapterID configurationtype
pathFormat
linesStartAt1
columnsStartAt1
supportsVariableType
supportsVariablePaging
supportsRunInTerminalRequest
locale platformlanguage
supportsProgressReporting
supportsInvalidatedEvent
supportsMemoryReferences
supportsArgsCanBeInterpretedByShell
supportsMemoryEvent
supportsStartDebuggingRequest
supportsANSIStyling
initialized
_onDidChangeState
rememberedCapabilities rawcapabilities
debugService raw rawcapabilitiesexceptionBreakpointFilters
debugServiceconfigurationtype rawcapabilitiesbreakpointModes
err
initialized
_onDidChangeState
err
config IConfig
raw
parentSession parentSessionstate StateInactive
config__sessionId
rawconfig
err
err
correlatedTestRun correlatedTestRuncompletedAt
didTerminateTestRun
testServicecorrelatedTestRunid
restart
raw
_optionslifecycleManagedByParent parentSession
parentSessionrestart
correlatedTestRun correlatedTestRuncompletedAt didTerminateTestRun
raw
rawcapabilitiessupportsTerminateRequest _configurationresolvedrequest
rawrestart
raw restart terminateDebuggee
restart
_optionscompoundRoot
restart suspend
raw
_optionslifecycleManagedByParent parentSession
parentSessionrestart suspend
raw
raw restart terminateDebuggee suspendDebuggee suspend
restart
_optionscompoundRoot
raw
_optionslifecycleManagedByParent parentSession
parentSession
raw arguments configuration
modelUri breakpointsToSend IBreakpoint sourceModified
raw
rawreadyForBreakpoints
rawSource modelUri
breakpointsToSendlength rawSourceadapterData
rawSourceadapterData breakpointsToSendadapterData
rawSourcepath
rawSourcepath rawSourcepath
response raw
source rawSource
lines breakpointsToSendbp bpsessionAgnosticDatalineNumber
breakpoints breakpointsToSendbp bp
sourceModified
responsebody
data
i i breakpointsToSendlength i
databreakpointsToSendi responsebodybreakpointsi
model capabilities data
fbpts IFunctionBreakpoint
raw
rawreadyForBreakpoints
response raw breakpoints fbptsbp bp
responsebody
data
i i fbptslength i
datafbptsi responsebodybreakpointsi
model capabilities data
exbpts IExceptionBreakpoint
raw
rawreadyForBreakpoints
args DebugProtocolSetExceptionBreakpointsArguments capabilitiessupportsExceptionFilterOptions
filters
filterOptions exbptsexb
exbcondition
filterId exbfilter condition exbcondition
filterId exbfilter
filters exbptsexb exbfilter
response rawargs
responsebody responsebodybreakpoints
data
i i exbptslength i
dataexbptsi responsebodybreakpointsi
model capabilities data
address bytes IDataBreakpointInfoResponse
rawcapabilitiessupportsDataBreakpointBytes
name address bytes asAddress
name variablesReference frameId dataId description canPersist
name variablesReference frameId
args DebugProtocolDataBreakpointInfoArguments dataId description canPersist
raw
rawreadyForBreakpoints
response rawargs
responsebody
dataBreakpoints IDataBreakpoint
raw
rawreadyForBreakpoints
converted dataBreakpoints bp
dap bp
dap bp
e
bp message emessage
response raw breakpoints convertedd ddapisDefined
responsebody
data
i
dap converted
dapdap
datadapbp dapmessage
i responsebodybreakpointslength
datadapbp responsebodybreakpointsi
model capabilities data
instructionBreakpoints IInstructionBreakpoint
raw
rawreadyForBreakpoints
response raw breakpoints instructionBreakpointsib ib
responsebody
data
i lineNumber bpline column bpcolumn
positions p
breakpointId DebugProtocolBreakpoint
modelbreakpointId
request args DebugProtocolResponse
raw
request
rawrequest args
threadId startFrame levels token CancellationToken DebugProtocolStackTraceResponse
raw
sessionToken threadId token
raw threadId startFrame levels sessionToken
threadId IExceptionInfo
raw
response raw threadId
response
id responsebodyexceptionId
description responsebodydescription
breakMode responsebodybreakMode
details responsebodydetails
frameId threadId DebugProtocolScopesResponse
raw
token threadId
raw frameId token
variablesReference threadId filter start count DebugProtocolVariablesResponse
raw
token threadId threadId
raw variablesReference filter start count token
expression frameId context location line column source DebugProtocolSource DebugProtocolEvaluateResponse
raw
raw expression frameId context line locationline column locationcolumn source locationsource
frameId threadId
raw
raw frameId threadId
threadId granularity DebugProtocolSteppingGranularity
thread threadId
thread
threadlastSteppingGranularity granularity
threadId granularity DebugProtocolSteppingGranularity
raw
threadId granularity
raw threadId granularity
threadId targetId granularity DebugProtocolSteppingGranularity
raw
threadId granularity
raw threadId targetId granularity
threadId granularity DebugProtocolSteppingGranularity
raw
threadId granularity
raw threadId granularity
threadId granularity DebugProtocolSteppingGranularity
raw
threadId granularity
raw threadId granularity
threadId
raw
raw threadId
threadId
raw
raw threadId
threadId
raw
raw threadId
threadIds
raw
raw threadIds
variablesReference name value DebugProtocolSetVariableResponse
raw
raw variablesReference name value
frameId expression value DebugProtocolSetExpressionResponse
raw
raw expression value frameId
source DebugProtocolSource line column DebugProtocolGotoTargetsResponse
raw
raw source line column
threadId targetId DebugProtocolGotoResponse
raw
raw threadId targetId
resource DebugProtocolSourceResponse
raw
source resource
rawSource DebugProtocolSource
source
rawSource sourceraw
data Sourceresource
rawSource path datapath sourceReference datasourceReference
raw sourceReference rawSourcesourceReference source rawSource
Source
raw
response raw
responsebody responsebodysources
responsebodysourcessrc src
frameId threadId text position Position token CancellationToken DebugProtocolCompletionsResponse
raw
sessionCancelationToken threadId token
raw
frameId
text
column positioncolumn
line positionlineNumber
sessionCancelationToken
frameId id label
raw
response raw frameId
responsebodytargets
progressId DebugProtocolCancelResponse
raw
raw progressId
memoryReference offset instructionOffset instructionCount DebugProtocolDisassembledInstruction
raw
response raw memoryReference offset instructionOffset instructionCount resolveSymbols
responsebodyinstructions
memoryReference offset count DebugProtocolReadMemoryResponse
raw
raw count memoryReference offset
memoryReference offset data allowPartial DebugProtocolWriteMemoryResponse
raw
raw memoryReference offset allowPartial data
locationReference IDebugLocationReferenced
raw
location raw locationReference
locationbody
source locationbodysource
column locationbody source
threadId Thread
threadsthreadId
IThread
result IThread
threadIdsthreadId
thread threadsthreadId
thread
resultthread
result
removeThreads reference
reference reference
thread threadsreference
thread
thread
threadstoppedDetails
threadstopped
removeThreads
threadsreference
threadsthread
thread
threadstoppedDetails
threadstopped
removeThreads
threads
threadIds
ExpressionContainerallValues
IRawStoppedDetails
stoppedDetailslength stoppedDetails
data IRawModelUpdate
threadIds
datathreadsthread
threadIdsthreadid
threadsthreadid
threadsthreadid threadname threadid
threadname
oldThread threadsthreadid
oldThread
oldThreadname threadname
threadst
threadIdstthreadId
threadstthreadId
stoppedDetails datastoppedDetails
stoppedDetails
stoppedDetailsallThreadsStopped
threadsthread
threadstoppedDetails threadthreadId stoppedDetailsthreadId stoppedDetails reason threadstoppedDetailsreason
threadstopped
thread
thread stoppedDetailsthreadId threadsstoppedDetailsthreadId
thread
threadstoppedDetails stoppedDetails
thread
threadstopped
_waitToResume
_waitToResume
stoppedDetails IRawStoppedDetails
raw
response raw
responsebody responsebodythreads
model
sessionId
threads responsebodythreads
stoppedDetails
raw RawDebugSession
raw raw
raw
rawListenersraw
aria
configurationnoDebug
raw rawcapabilitiessupportsConfigurationDoneRequest
raw
e
notificationServicee
raw
debugService
statusQueue statusQueue
rawListenersrawevent eventbody
rawListenersrawevent
statusQueueeventbodythreadId
eventbodyreason
fetchThreadsSchedulervalue
fetchThreadsSchedulervalue
eventbodyreason
model eventbodythreadId
viewModel debugService
focusedThread viewModelfocusedThread
passFocusScheduler
focusedThread eventbodythreadId focusedThreadthreadId
debugService viewModelfocusedSession explicit
rawListenersraw event
aria
eventbody eventbodyrestart
debugService eventbodyrestart
raw
raw terminateDebuggee
rawListenersraw event
allThreads eventbodyallThreadsContinued
affectedThreads
allThreads
affectedThreads eventbodythreadId
threadIdseventbodythreadId
affectedThreads eventbodythreadId
fetchThreadsSchedulerrawValue
affectedThreads eventbodythreadId
fetchThreadsSchedulervalue
fetchThreadsSchedulervalue
affectedThreads threadIds
affectedThreads threadIds
statusQueueallThreads eventbodythreadId
statusQueueaffectedThreads threadId
stoppedDetails stoppedDetailssd sdthreadId threadId
tokens cancellationMapthreadId
cancellationMapthreadId
tokenst t
model threadId
lastContinuedThreadId allThreads eventbodythreadId
passFocusScheduler
_onDidChangeState
outputQueue
rawListenersraw event
outputSeverity eventbodycategory SeverityError eventbodycategory SeverityWarning SeverityInfo
eventbodyvariablesReference
source eventbodysource eventbodyline
lineNumber eventbodyline
column eventbodycolumn eventbodycolumn
source eventbodysource
container eventbodyvariablesReference
children container
outputQueue
resolved children
resolvedlength
output eventbodyoutput expression resolved sev outputSeverity source eventbodycategory
resolvedchild
childname
output expression child sev outputSeverity source eventbodycategory
outputQueue
eventbody raw
eventbodycategory
telemetryEndpoint rawdbgr
telemetryEndpoint telemetryServicetelemetryLevel TelemetryLevel
data eventbodydata
telemetryEndpointsendErrorTelemetry eventbodydata
data eventbodydata
customEndpointTelemetryServicetelemetryEndpoint eventbodyoutput data
source eventbodysource eventbodyline
lineNumber eventbodyline
column eventbodycolumn eventbodycolumn
source eventbodysource
eventbodygroup eventbodygroup
expanded eventbodygroup
repl eventbodyoutput expanded source
eventbodygroup
repl
eventbodyoutput
eventbodyoutput
output eventbodyoutput sev outputSeverity source eventbodycategory
rawListenersrawevent
id eventbody eventbodybreakpoint eventbodybreakpointid
breakpoint modelbp bp id
functionBreakpoint modelbp bp id
dataBreakpoint modeldbp dbp id
exceptionBreakpoint modelexcbp excbp id
eventbodyreason eventbodybreakpointsource eventbodybreakpointline
source eventbodybreakpointsource
bps modelsourceuri
column eventbodybreakpointcolumn
enabled
lineNumber eventbodybreakpointline
bpslength
data bps eventbodybreakpoint
model capabilities data
eventbodyreason
breakpoint
modelbreakpoint
functionBreakpoint
modelfunctionBreakpoint
dataBreakpoint
modeldataBreakpoint
eventbodyreason
breakpoint
breakpointcolumn
eventbodybreakpointcolumn
data breakpoint eventbodybreakpoint
model capabilities data
functionBreakpoint
data functionBreakpoint eventbodybreakpoint
model capabilities data
dataBreakpoint
data dataBreakpoint eventbodybreakpoint
model capabilities data
exceptionBreakpoint
data exceptionBreakpoint eventbodybreakpoint
model capabilities data
rawListenersrawevent
_onDidLoadedSource
reason eventbodyreason
source eventbodysource
rawListenersrawevent
_onDidCustomEventevent
rawListenersrawevent
_onDidProgressStartevent
rawListenersrawevent
_onDidProgressUpdateevent
rawListenersrawevent
_onDidProgressEndevent
rawListenersrawevent
_onDidInvalidMemoryevent
rawListenersraw event
areas eventbodyareas
areas areas areas
model
details stoppedDetails
stoppedDetailslength
detailslength
detailsd d
fetchThreadsSchedulervalue
fetchThreadsSchedulervalue
viewModel debugService
viewModelfocusedSession
viewModel
rawListenersrawevent event
event IRawStoppedDetails
passFocusScheduler
stoppedDetailsevent
eventhitBreakpointIds
_waitToResume eventhitBreakpointIds
statusQueue
event eventthreadId threadIds eventthreadId
threadId token
hasLotsOfThreads eventthreadId threadIdslength
focusedThread debugServicefocusedThread
focusedThreadDoesNotExist focusedThread focusedThreadsession threadsfocusedThreadthreadId
focusedThreadDoesNotExist
debugService
thread threadId threadId
thread
promises modelThreadthread hasLotsOfThreads
focusedThreadDoesNotExist eventpreserveFocusHint threadlength
focusedStackFrame debugServicefocusedStackFrame
focusedStackFrame focusedStackFramethreadsession
preserveFocus configurationServicefocusEditorOnBreak
debugService thread preserveFocus
threadstoppedDetails tokenisCancellationRequested
threadstoppedDetailsreason configurationServiceopenDebug suppressDebugView
paneCompositeService ViewContainerLocationSidebar
configurationServicefocusWindowOnBreak workbenchEnvironmentServiceextensionTestsLocationURI
activeWindow
activeWindowdocument
hostServicemainWindow mode FocusModeForce
promisestopCallStack
eventhitBreakpointIds
_waitToResume thread
tokenisCancellationRequested
promiseswholeCallStack
tokenisCancellationRequested
focusedStackFrame debugServicefocusedStackFrame
focusedStackFrame focusedStackFrame
_onDidChangeState
hitBreakpointIdsOrThread Thread
breakpoints IBreakpoint
hitBreakpointIdsOrThread
breakpoints modelbp hitBreakpointIdsOrThreadbpid
frame hitBreakpointIdsOrThread
frame
hitBreakpointIdsOrThreadstoppedDetails hitBreakpointIdsOrThreadstoppedDetailsreason
breakpoints framesourceuri framerangestartLineNumber framerangeendLineNumber framerangestartColumn framerangeendColumn
urisToResend
model triggeredOnly enabledOnly bp
breakpointscbp
bpenabled bptriggeredBy cbp
bp
urisToResendbpuri
results
urisToResenduri resultsdebugServiceuri
results
uri startLineNumber endLineNumber startColumn endColumn IBreakpoint
model uri uri bp
bplineNumber startLineNumber bplineNumber endLineNumber
bpcolumn bpcolumn startColumn bpcolumn endColumn
event AdapterEndEvent
initialized
model capabilities
_onDidEndAdapterevent
rawListeners
raw
raw
raw
raw
passFocusScheduler
passFocusScheduler
model
sources
threads
threadIds
stoppedDetails
_onDidChangeState
rawListeners
globalDisposables
_onDidChangeState
_onDidEndAdapter
_onDidLoadedSource
_onDidCustomEvent
_onDidProgressStart
_onDidProgressUpdate
_onDidProgressEnd
_onDidInvalidMemory
_onDidChangeREPLElements
_onDidChangeName
_waitToResume
uri Source
sourcesuriIdentityServiceuri
raw DebugProtocolSource Source
source raw uriIdentityService logService
uriKey sourceuri
found sourcesuriKey
found
source found
sourceraw sourceraw raw
sourceraw raw
sourcerawpresentationHint rawpresentationHint
sourcesuriKey source
source
uri DebugProtocolSource
source uri
source
sourceraw
data Sourceuri
name dataname path datapath sourceReference datasourceReference
threadId token CancellationToken CancellationToken
tokenSource token
tokens cancellationMapthreadId
tokenstokenSource
cancellationMapthreadId tokens
tokenSourcetoken
cancellationMaptokens tokenst t
cancellationMap
IReplElement
repl
parentSession _optionsrepl
repl
stackFrame IStackFrame expression
repl stackFrame expression
debugService
data INewReplElementData isImportant
repl data
isImportant
notificationService message dataoutput severity datasev source name
pendingCancellations Set
threadOps
threadIdsP threadId ct CancellationToken
cancelledWhileLookingUpThreads
pendingCancellationscancelledWhileLookingUpThreads
threadIds threadIdsP
i i pendingCancellationslength i
s pendingCancellationsi
s cancelledWhileLookingUpThreads
pendingCancellationsi
threadId threadIds
sthreadId
cancelledWhileLookingUpThreads
threadIdsthreadId
cancelledWhileLookingUpThreadsthreadId
threadOpsthreadId
cts
threadOpsthreadId cts
threadId ctstoken
threadIds
threadIds
_ op threadOps
op
threadOps
s pendingCancellations
s
threadId threadIds
threadOpsthreadId
threadOpsthreadId
s pendingCancellations
sthreadId