Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tcf-dev] Error when trying to resume process through code and git question regarding TCF git repository
  • From: Eugene Tarassov <eugenet@xxxxxxxxxx>
  • Date: Sun, 2 Feb 2020 17:05:50 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=xilinx.com; dmarc=pass action=none header.from=xilinx.com; dkim=pass header.d=xilinx.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=m2vC4rWwffGXAN3rRHiM4HO61mfBWz4Tqrg+277cSyI=; b=KITrMR/9+7tTkBuCOWJAvDxCqVRMPvLicLIQCon6kNQ21ePLpl4nSSxOK0+Ak3mZ2+HvcQv35N581GEEYwLzB9gY4xDnjtaNmtgInK751zkXtGFzFddjK1arjYZhHz/VbngB8i2PHjAUNkMHm0ZXxiYLogkggty6YMrPvpNWuNFtUlpV39tfRDP9KRhMOMY7E2hVpN/3eZgVEySBEl85macJwmBa1JvzDrSaeM2oPubWOKCyZFxBHGmhcX5j4PrybZtqezgJn28pc5MKX00qNkk0Ehkk5t8qyEoynmtuO05GCZ9NISHVxki7hqzziJkLOuYTXFwXdmQL9ITVhpxxnQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hERroffrw1Ea5l9Xxe7ddcXkRqperKsyEGUlN951g2z3VA741UHK2Sn43eHUbuC4ydqTrNzDEkm9NihLhVo0ptR+UZ3qW8jD4KpJF+Av0/P0MGrRAQcwjmLxttZnfPlRR6AGUNx60sLlnEjmMlA/RimjMaHhlfjYpKQ5ebZyWLxZt1gPTnTm0Kdp7nVLDerBo6NV9qgXzvBJxvZ6p919yPwujBk8PE4QgwnXLVLU5og3VOIvJOROkO2CVdCLiJv1TjXdKk1jUKDgH/mFSPPMVOhcdvFR8SKPQCQSFf1YTQzBeFLPn8yAvBMMecPwtCy0fooLPKE59bUsibblUdLGEA==
  • Delivered-to: tcf-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tcf-dev>
  • List-help: <mailto:tcf-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tcf-dev>, <mailto:tcf-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tcf-dev>, <mailto:tcf-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHV2T5i73cuwwZbfkCqvZi9qfRZ46gII3Hw
  • Thread-topic: [tcf-dev] Error when trying to resume process through code and git question regarding TCF git repository

Hi Gidi,

 

> I am trying to resume a suspended process

 

Count 0 is not valid, should be 1: RunControl resume "P20987", 0, 1

 

> Also, I'd like to download TCF source code related to Eclipse 4.9

 

git clone https://git.eclipse.org/r/tcf/org.eclipse.tcf.git

cd org.eclipse.tcf

git checkout -b 1.6.1

 

Regards,

Eugene

 

 

From: tcf-dev-bounces@xxxxxxxxxxx <tcf-dev-bounces@xxxxxxxxxxx> On Behalf Of Gidi Gal
Sent: Saturday, February 1, 2020 12:39 PM
To: tcf-dev@xxxxxxxxxxx <tcf-dev@xxxxxxxxxxx>
Subject: [tcf-dev] Error when trying to resume process through code and git question regarding TCF git repository

 

EXTERNAL EMAIL

Hello,

 

I am trying to resume a suspended process using the method org.eclipse.tcf.services.IRunControl.RunControlContext.suspend.

I attached the code I am running. I launched a debug session, suspended the debugged process and then tried to activate the plugin and got the following error:

 

org.eclipse.tcf.core.ErrorReport: TCF error report:

  Command: RunControl resume "P20987", 0, 0

  Time: 2020-02-01 22:21:44.165

  Error text: Invalid argument

  Error code: 1

  Alt code: 22

  Alt org: Linux

 

at org.eclipse.tcf.core.Command.toError(Command.java:266)

at org.eclipse.tcf.core.Command.toError(Command.java:251)

at org.eclipse.tcf.internal.services.remote.RunControlProxy$RunContext$2.done(RunControlProxy.java:172)

at org.eclipse.tcf.core.Command.result(Command.java:121)

at org.eclipse.tcf.core.AbstractChannel.handleInput(AbstractChannel.java:1116)

at org.eclipse.tcf.core.AbstractChannel.access$0(AbstractChannel.java:1058)

at org.eclipse.tcf.core.AbstractChannel$1$1.run(AbstractChannel.java:369)

at org.eclipse.tcf.EventQueue.run(EventQueue.java:95)

at java.lang.Thread.run(Unknown Source)

 

I am running Eclipse 4.9.

Is it a bug or wrong usage of the API ?

 

Also, I'd like to download TCF source code related to Eclipse 4.9, so I can debug it, if needed. I don't have much experience in git. What command should I call in order to get branch related to Eclipse 4.9 release ?

 

Thanks,

Gidi


Back to the top