Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-dev] how to debug "Choose workspace" dialog workflow?
  • From: "Homer, Tony" <tony.homer@xxxxxxxxx>
  • Date: Tue, 10 Nov 2020 23:22:14 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.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-SenderADCheck; bh=TyYZLUnkArIfoS14NhCkqhdqgbifIGPBmg5/8lZDtSk=; b=nPtHHff9Ps29p/KT44f0fC8V0J9c9jkPbFPeCqzaGbZHQwshvBJGej+jI4DsybxSgCr+bdeLCN7b/Jck4vdYMeMw6uiY3AXjIm3UqD8dlWATRKMUUekKn3AKOvHLdsK6egupxcSCKrs5ZUDSZXjySR2OKIPbIdl3/UOQtGqqLcvNBaejwetvgngo7nam9SeHjxFMeH8mkSFLWDO5lJNRX+pW9yIZRLaHpQPhwPgFTwWkijkr3qW2VtJuDPBGDSMofRBksaRjIUMN8GGnBOAaIJYh34P/vZUTn5L18SUyt0iF8JhHecpqHTC9z3KKrNstixqUOgN7M6+uSKhZWgd18Q==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kyeZpz7mNoQy+e4Mzf43jzChYibqcNQuKe3jo3TxpbLUFDgIOL4r6Jz11iAuT01t6qh2zuxWKxEh2GSynY/ds2lvSbKCpCuZubTHhS7P9qWAq8OnLgET3lAaaUHFluzZnIq8T4TnlLAIleuQ68qWqcZYFYNMBfxOHjZSDoy7iUu8kR8Jt6eC7OFNaRvdxOFyQbz9UKyHLS9+Xk+4Gq/VHUAhp1s/L+TK4mTrCHAZiVWjDaoW3KQu+I1wJemSUNGK6GC/mqlZ9uPFA7ngE5Y7yf475ZJMucSuAnz/y5GROv4xHkFAbV7GhsCON9gWa7oTSxjvD7E+kQFWe2mTQo7dow==
  • Delivered-to: platform-dev@xxxxxxxxxxx
  • Ironport-sdr: MkpGBXGtmhEng6UZimXFfcvcq+DT2D5WAzQVL0HrJ/ydoB/qw0F640itraBI/qJMZaDtPyv575 /Z0IWCWEeMVw==
  • Ironport-sdr: SWgegZG/6apjVF+VT4RSVzDM6oNPaNjv483PE4lfPgY2XxbGbWeHb6MS+Y495vT+QlOm6wn+av /PwiYP+h1mcQ==
  • List-archive: <https://www.eclipse.org/mailman/private/platform-dev>
  • List-help: <mailto:platform-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWt7hTFE0pKBzWPESbH2bE+TNrVg==
  • Thread-topic: how to debug "Choose workspace" dialog workflow?
  • User-agent: Microsoft-MacOutlook/16.43.20110804

I recently made a change in an Eclipse product to switch from a static product declaration to a dynamic product declaration, as documented here:

https://help.eclipse.org/2020-09/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_core_runtime_products.html&cp%3D2_1_1_30

 

After making this change, most everything works as expected, but the “Choose workspace” dialog is no longer displayed on startup.  The workspace can be switched via the File>Switch Workspace menu item, but on subsequent starts, the selection has not been saved (RECENT_WORKSPACES is empty) and the default workspace is opened.  I imagine that my dynamic product implementation is causing this, so I want to step through the workflow (by the way, if anyone reading has an idea of how I could have broken this, please let me know!).

 

However, as far as I can tell, when launching an “Eclipse Application” there is no way to avoid specifying the target workspace in the workspace data section, so on initial launch, the “Choose workspace” dialog is not displayed.  Trying to exercise the workflow via File>Switch Workspace also fails, because an error occurs (“Missing System Property - Unable to relaunch the platform because the eclipse.vm property has not been set.").

 

How can I debug the “Choose workspace” dialog workflow with an “Eclipse Application” launch?

 


Back to the top