On Wed, Nov 19, 2008 at 5:45 PM, Thorbjørn Ravn Andersen <span dir="ltr"><<a href="mailto:ravn@runjva.com">ravn@runjva.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Maarten Bosteels skrev:<br>
<div class="Ih2E3d">><br>
><br>
> I cannot count the times I've pasted a stack trace in the Java Stack<br>
> Trace pane on the Console to be able to navigate.<br>
><br>
><br>
> I am not sure we're talking about the same thing, but have you heard<br>
> of JumpToCode ?<br>
> It's a plugin for IntelliJ IDEA that listens for "jump to this code"<br>
> commands from external programs.<br>
> Creating a similar plugin for eclipse is on my TODO list.<br>
><br>
> The idea is that log-viewers such as Vigilog and Chainsaw show<br>
> hyperlinks for every LocationInfo.<br>
> When hyperlink is clicked a "jump to code" command is sent to your<br>
> IDE, which will navigate to the corresponding code.<br>
><br>
> This is already implemented in Vigilog. I still have to ask the<br>
> chainsaw maintainers to see if they are also interested.<br>
</div>This is a very interesting thing, as I have asked the Eclipse folks the<br>
same thing a long time ago. Is there a way to communicate things back<br>
to Eclipse when running in a debugger and the answer was "no".<br>
<br>
It would be really nice to have. My only concern is if a fellow<br>
coworker decides to tease me, and start sending bogus requests. Is<br>
there a password mechanism or so?</blockquote><div><br>You can specify on which interface and which port the plugin listens. By default it uses <a href="http://127.0.0.1">127.0.0.1</a> so it only listens for requests coming from localhost.<br>
I run vigilog and IDEA on two different PC's so I let the plugin listen on <a href="http://0.0.0.0">0.0.0.0</a>. No problems with co-workers so far :-)<br><br>There is no password mechanism, but it could be added of course. But I think problem could also be solved with iptables.<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Otherwise an integration with the Eclipse plugin would be a good idea<br>
perhaps.</blockquote><div><br>Not sure:<br><br>The idea about navigating from logging-event to corresponding code was stolen from Log4jMonitor : another IDEA plugin similar to the eclipse logback plugin but more advanced. <br>
It uses a JTable instead of plain text and also has filtering options.<br>It worked really well. But it has a dependency on the Intellij API, and the plugin no longer works in recent versions of IDEA.<br><br>That's why I wanted a plugin that's as simple as possible => small dependency on IntelliJ API => higher chance of staying compatible and being maintained.<br>
=> more time left to work on a nice logviewer that can be used by both eclipse and IDEA users.<br><br>Unfortunately the current release of Vigilog is IMO not really usable during development:<br>* it has no support to tail a file<br>
* it has no support for receiving log-events over a socket<br><br>I have added support for the latter, but it's not polished enough to be released. That's another thing on my TODO list.<br><br><a href="http://plugins.intellij.net/plugin/?id=13">http://plugins.intellij.net/plugin/?id=13</a><br>
<a href="http://www.intellij.org/twiki/bin/view/Main/LogMonitorPlugin">http://www.intellij.org/twiki/bin/view/Main/LogMonitorPlugin</a><br><br>regards, <br>Maarten<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="Wj3C7c"> Thorbjørn Ravn Andersen "...plus... Tubular Bells!"<br>
<br>
_______________________________________________<br>
logback-dev mailing list<br>
logback-dev@qos.ch<br>
<a href="http://qos.ch/mailman/listinfo/logback-dev" target="_blank">http://qos.ch/mailman/listinfo/logback-dev</a><br>
</div></div></blockquote></div><br>