Copyright (c) 2007-2019 Wind River Systems, Inc. and others. Made available under the EPL 2.0
Agent portion made available under your choice of EPL 2.0 or EDL v1.0 dual-license.
Direct comments, questions to the tcf-dev@eclipse.org mailing list
Eclipse can be used for developing clients for TCF in Java. The TCF host side code is organized into several Eclipse plug-in projects, below are steps to create and populate an Eclipse workspace with TCF projects:
eclipse.exe -vm <JDK path>/bin/javaw.exe -data <Workspace path> -vmargs -Xmx1024M
git clone https://git.eclipse.org/r/tcf/org.eclipse.tcf.git git clone ssh://<user>@git.eclipse.org:29418/tcf/org.eclipse.tcf.git
TCF plugins source code is stored in <TCF Root>/plugins
directory.
Examples source code is stored in <TCF Root>/examples
directory.
<TCF Root>/examples/org.eclipse.tcf.examples.daytime.agent
for example code of a customized TCF agent, which implements DayTime service.
Pre-built TCF plugins are available at Eclipse Update site/p2 repositories. The repositories can be accessed from Eclipse using Help/Install New Software command.
Target Explorer plugins source code is stored in the <TCF Root>/target_explorer/plugins
directory.
git clone https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent.git git clone ssh://<user>@git.eclipse.org:29418/tcf/org.eclipse.tcf.agent.git
CDT can be used to build TCF agent.
CDT .project file is located in <TCF Root>/agent
directory.
Linux: To build the agent:
make
command in <TCF Root>/agent
directory.
obj/GNU/Linux/i686/Debug/agent -L- -l0Use other -l option values to increase agent log details level.
Windows: For building the agent, there are two possibilities:
makeor
make OPSYS=Msysin the agent directory.
<TCF Root>/agent/msvc/agent-vc2015.sln
and then build and run the agent using Development Studio commands. If getting an error aboutThe TCF integration with Python allows writing TCF client and server programs in the Python programming lanugage. TCF Python code is stored in <TCF Root>/python directory.
The TCF integration with Lua allows writing TCF client and server programs in the Lua programming lanugage. See TCF Lua Integration for details.
On Windows, open Project Properties of the agent project, and under C/C++ General > Indexer switch the configuration to "Win32 - Cygwin" or "Win32 - DevStudio" as needed.
For VxWorks, browsing should be configured automatically through the WR Workbench Kernel Module Project.
The Target Explorer aims to create a lightweight but highly flexible and extensible remote system management framework. The focus is on TCF remote system management, but is by no means limited to it. The Target Explorer comes with full remote file system and remote process support, and allows to connect a terminal to the remote system using TCF, SSH, Telnet and serial line.
If building from source, import all org.eclipse.tcf.te.* plug-in's to enable the Target Explorer.
Since Eclipse version 3.8, Target Explorer is available for download from main Eclipse p2 repository. The feature name is "Mobile and Device Development / Target Explorer, TCF".
To connect a remote machine over TCF:
Plugins org.eclipse.tcf.debug and org.eclipse.tcf.debug.ui allow to start a debug session by connecting to a machine runnning TCF agent. Plugin org.eclipse.tcf.cdt.ui handles integration of the debugger with CDT UI.
Since Eclipse version 3.8, TCF Debugger is available for download from main Eclipse p2 repository. The feature name is "Mobile and Device Development / Target Communication Framework, CDT Extender".
To start a debug session over TCF:
The TCF Debugger implements advanced, asynchronous, transaction based retrieval and caching of remote data. The technology allows excellent data coherency and communication performance.
The debugger fully supports multi-threaded, multi-process, multi-core, whole system and multi-system debugging in a single debug session.
In TCF debug session, "Debug", "Breakpoints", "Registers", "Variables", "Expressions", "Memory" and "Modules" views are populated by the TCF debugger. "Disassembly" view and instruction level stepping are available if the agent supports it. Reverse execution is available if the agent supports it. TCF Trace view can be used to display TCF communication traffic. Remote process standard I/O is redirected to the Console view. Source level debugging is fully supported.
Remote System Explorer is an Eclipse based component that allows users to create connections to remote machines and explore their file systems, see list of processes and access some other resources, like remote shells. Remote System Explorer has been designed as a flexible, extensible framework to which Eclipse plug-in developers can contribute their own system definitions, actions, etc.
Plugin org.eclipse.tcf.rse enables use of Processes, Shells, Terminals and Files subsystems of Remote System Explorer over TCF. It also extends Processes subsystem to include CPU utilization data and some other process attributes in RSE views.
Since Eclipse version 3.8, TCF-RSE is available for download from main Eclipse p2 repository. The feature name is "Mobile and Device Development / Target Communication Framework, RSE Extender".
To connect a remote machine over TCF:
RSE features supported by TCF connection: