On Thu, Jul 06, 2006 at 12:11:57PM +0100, Kiran Polaki wrote:
Hi
In my case , I do run tests which generates log files containing the sequence of TTCN-3 statements executed.
Not necessarily , a fail verdict but i would be interested to be able to open the location of any TTCN statement from the log file.
Now I understand the philosophy of TRex.As you can see , my requirement can be satisfied if TRex allows it to be opened from the external tool.Can it be done in some other way?
Well for fails/warnings etc. it would make sense to have your log format supported by TRex and have your compiler/executer added as an external compiler/executer in exactly the same was as we support Telelogic TAU's TTCN-3 compiler.
However, you mention that you wanted to be able to browse through the log file and jump to a file/line number whenever the combination of filename.ext:123 appears in the file (i.e. not only for warnings/errors). In your case I would suggest either 1) TRex provides some keyboard shortcut like the JDT 'Open Type' (ctrl-shift-t) which allows you to immediately jump to the file of the typed name in the current workspace. Then you can use the usual ctrl-L shortcut to jump to the line number you are interested in.
Otherwise, to achieve the automation you desire, you might find it useful to examine the 'AnyEdit' plugin, which I believe does something similar to what you want.
http://andrei.gmxhome.de/anyedit/index.html
Whether or not it would work in conjunction with TRex though I am not entirely sure.
Regards, Dominic