Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [theia-dev] Debugger architecture musings
  • From: Rob Moran <Rob.Moran@xxxxxxx>
  • Date: Thu, 14 Oct 2021 11:51:18 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hm4d6APjKYvig4IJBRpOU7tcKxHS/kJ3mkOUGRz6LJ0=; b=Wq2Yf6EnIN5CATDoLUgYW8GL4flMuINCC45jgAHuB9k53nIHL9xeQW/rwlxD6mCZJ1K7pZ0Uj0DR9Pq/Ekdqz1e1zbkaHGf9RITGry9bA7pkp4TS9dvePoCIh33jr6p18M3BNioVzfAgGOYk3oXqew0XCcCvBzq0xqc+eBCfWprhqPeT1MKasji/INmhnaFNtQzBB8ZLrUTL1J5an5FXM2pubMAUmPYtX6y7Wrw/q8TJHHYSQu5+RG2l5SiIdFRtiTLPJUjDs5bPXLQcgxVR30iMmt3T6RTHkeqA2i9f5dEEf5nG/H+YClgLKBzK0QB9JCa5fygJaGMKmn864wl0ag==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L0TSI9cm7j7QigbBy6+MftbQ5+toeP/SClshELdIgStcM2rEp115JagbGZqSgjYO1THkQchUeJLkX6HufZ3l74xW2IDnW6ch7cMUScxbNn0rBC24FRx2G5qwSET1qQzpYVz1gOiLRacc9hEv1YaM67FuXUtqtYGmPN7UmpOFgP5bs/ke0AG1b8NsThhx8EhIQdXg402GapWrJaPJyckysNonD//AlwZzT04/l6OTgeM3DUp7jhpi/PKCwr2aXFDWgE32i/SY+xNvArrni8LW9q+/q+RHntroLBsrBkNgn8RD27FYVlo4kYT18v26rCmbofp1MqCl9tpfwLRU2Aw6nA==
  • Delivered-to: theia-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/theia-dev/>
  • List-help: <mailto:theia-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/theia-dev>, <mailto:theia-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/theia-dev>, <mailto:theia-dev-request@eclipse.org?subject=unsubscribe>
  • Nodisclaimer: true
  • Original-authentication-results: eclipse.org; dkim=none (message not signed) header.d=none;eclipse.org; dmarc=none action=none header.from=arm.com;
  • Suggested_attachment_session_id: 3bc8222a-8c26-2606-e999-19a5ef66c290
  • Thread-index: AQHXvEywaB+3NtNxXEKgw9bB40xVyKvJI1wAgAAO74CAAAIcAIAJNanj
  • Thread-topic: [theia-dev] Debugger architecture musings

Moving debug functionality to the browser where possible aligns well with the architecture we use for debugging with Theia. Simplifying it all is a bonus!

I support these suggestions,

Rob


From: theia-dev <theia-dev-bounces@xxxxxxxxxxx> on behalf of Paul Marechal via theia-dev <theia-dev@xxxxxxxxxxx>
Sent: 08 October 2021 16:09
To: theia-dev@xxxxxxxxxxx <theia-dev@xxxxxxxxxxx>; Thomas Mäder <tmader@xxxxxxxxxx>
Cc: Paul Marechal <paul.marechal@xxxxxxxxxxxx>
Subject: Re: [theia-dev] Debugger architecture musings
 
> If the debug adapter is started when the debug session is started, it will go away with the session (as is should, because any new sessions will start a new copy). If it is started outside of debugger control (running as a resident process available via socket, for example), it will still be there when we come back, no? 

Both statements are true. But what I meant was regarding the support for conserving debugging sessions across reloads. In this case some kind of persistence would need to be done in the backend to keep those alive as the frontend kills its whole runtime+connections and reboots. Not a big deal but since you mentioned the use-case I was curious if you'd take that into account or not. But as you said: as of today reloading kills sessions, so it could be out of scope for now.

From: Thomas Mäder <tmader@xxxxxxxxxx>
Sent: Friday, October 8, 2021 11:02 AM
To: Paul Marechal <paul.marechal@xxxxxxxxxxxx>; theia-dev@xxxxxxxxxxx <theia-dev@xxxxxxxxxxx>
Subject: Re[2]: [theia-dev] Debugger architecture musings
 


------ Original Message ------
From: "Paul Marechal" <paul.marechal@xxxxxxxxxxxx>
To: "Thomas Mäder" <tmader@xxxxxxxxxx>; "theia-dev@xxxxxxxxxxx" <theia-dev@xxxxxxxxxxx>
Sent: 08/10/2021 16:08:34
Subject: Re: [theia-dev] Debugger architecture musings

You got me at "simplify".

Regarding 1) if we move the DebugService to the frontend then debug sessions will have even more reasons to be destroyed. If we want persistence of those, we need to at least persist the debug adapter processes in the backend. 
If the debug adapter is started when the debug session is started, it will go away with the session (as is should, because any new sessions will start a new copy). If it is started outside of debugger control (running as a resident process available via socket, for example), it will still be there when we come back, no? 

/Thomas

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

Back to the top