debug: always inline one session

fixes #79121
This commit is contained in:
isidor 2019-08-21 11:18:09 +02:00
parent acb6d62091
commit 72803aaeee

View file

@ -599,7 +599,7 @@ class CallStackDataSource implements IAsyncDataSource<IDebugModel, CallStackItem
if (sessions.length === 0) {
return Promise.resolve([]);
}
if (sessions.length > 1 || this.debugService.getViewModel().isMultiSessionView()) {
if (sessions.length > 1) {
return Promise.resolve(sessions.filter(s => !s.parentSession));
}