1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 01:15:29 +02:00

Implementation of text hovering.

This commit is contained in:
Mikhail Khodjaiants 2002-09-13 17:22:46 +00:00
parent ab927f790a
commit 82b872a006
5 changed files with 14 additions and 3 deletions

View file

@ -182,7 +182,7 @@ public class MISession extends Observable {
static int number = 1;
public synchronized void postCommand(Command cmd, long timeout) throws MIException {
//MIPlugin.getDefault().debugLog(number++ + " " + cmd.toString());
MIPlugin.getDefault().debugLog(number++ + " " + cmd.toString());
// Test if we are in a sane state.
if (!txThread.isAlive() || !rxThread.isAlive()) {

View file

@ -68,7 +68,7 @@ public class RxThread extends Thread {
try {
String line;
while ((line = reader.readLine()) != null) {
//MIPlugin.getDefault().debugLog(line);
MIPlugin.getDefault().debugLog(line);
processMIOutput(line + "\n");
}
} catch (IOException e) {

View file

@ -6,6 +6,7 @@
<classpathentry kind="src" path="/org.eclipse.debug.ui"/>
<classpathentry kind="src" path="/org.eclipse.debug.core"/>
<classpathentry kind="src" path="/org.eclipse.cdt.debug.core"/>
<classpathentry kind="src" path="/org.eclipse.cdt.ui"/>
<classpathentry kind="src" path="/org.eclipse.core.runtime"/>
<classpathentry kind="src" path="/org.eclipse.core.boot"/>
<classpathentry kind="var" path="JRE_LIB" rootpath="JRE_SRCROOT" sourcepath="JRE_SRC"/>

View file

@ -4,6 +4,7 @@
<comment></comment>
<projects>
<project>org.eclipse.cdt.debug.core</project>
<project>org.eclipse.cdt.ui</project>
<project>org.eclipse.core.boot</project>
<project>org.eclipse.core.resources</project>
<project>org.eclipse.core.runtime</project>

View file

@ -17,6 +17,7 @@
<import plugin="org.eclipse.debug.ui"/>
<import plugin="org.eclipse.debug.core"/>
<import plugin="org.eclipse.cdt.debug.core"/>
<import plugin="org.eclipse.cdt.ui"/>
</requires>
@ -221,5 +222,13 @@
</action>
</editorContribution>
</extension>
<extension
point="org.eclipse.cdt.ui.textHovers">
<textHover
name="%DebugTextHover"
perspective="org.eclipse.debug.ui.DebugPerspective"
class="org.eclipse.cdt.debug.internal.ui.editors.DebugTextHover"
id="org.eclipse.cdt.debug.internal.ui.editors.DebugTextHover">
</textHover>
</extension>
</plugin>