Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tcf-dev] Error when trying to resume process through code and git question regarding TCF git repository
  • From: Gidi Gal <gidigal@xxxxxxxxxxx>
  • Date: Sat, 1 Feb 2020 20:39:12 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=JIM4u5JZWZXqq8Wx5En4wF6tWDPmToGAgtnOFEc5GSk=; b=R5rhjri6yM630R/jnQNcRYJuWuO8/wqUz32JMl9G3tmRjfPl113CaBKZ+/NbOCVO1Plq+AMQF9yiFu2AP5Dp3QGqPvpf8RQBZADs2KymbvTdO5vfQr+przQUwMW/JzkZhG5nD+kMmNz2q4CVevNLxNl1GdDedzT04AXJFOAvVxyfGcERe4Oj65qRd13PhbBczQPyGVL+yAadqgkhcXwzn5F7PlTYOpA6/U63/b8NLBolz8YF3dUfJB3iR6uP9v+9NjcvBpjcG1T9UZh+ZHoOY7xSip8Y7ZAtmWmgBA5uZxhcUOAmqN8+VLhXYlghpuWLiyn7zSHQQLvX9UqjEMp67w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UQHiSLhRM5jXdoC6WYjJZOPXYZNuW8BmjjSukYeaHy7coB0myA7whR/DzV5TalRDhKF8OJ/0QMShxGzvJ/J9gw1zNvtxdG/hkQiUBTAt3xTLB8fbuz/5EW8yNA54+87FYNVzVCxy05at0cfy79oL4U8F8ftKwEY3FUQjvRInVoMsNoxF1sN+n97/zcKlykOvatjtJMGM7xQuJ7wsKmSBfsYCymYiPHwEjvEJy32hCQxmGdSclzLezrvCt6DRTYW3jZeOJLhVSP6bduzslHNWRigzAFfJoTUtPofCmxjd9d49cJpdoDP8jjb5Z0C0r35segLR8DuQD+8zQKiPOXEczg==
  • 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: AQHV2T5i73cuwwZbfkCqvZi9qfRZ4w==
  • Thread-topic: Error when trying to resume process through code and git question regarding TCF git repository

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

Attachment: TestResume.zip
Description: TestResume.zip


Back to the top