Re: [Erlide-devel] Integrating tracing tool with erlide

2010-09-26 Thread Vlad Dumitrescu
Hi Piotr, I checked your ttb integration and it looks very nice! I had one problem: after terminating the trace, it wasn't opened automatically in the viewer. I could open it from the trace browser, but it's not obvious how to do that (it's not mentioned in the docs). Otherwise, I only have some

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-09-15 Thread Vlad Dumitrescu
Hi! On Wed, Sep 15, 2010 at 12:16, Piotr Dorobisz wrote: > I changed repository I'm working with. Now I'm using company's account so my > source code will be here: git://github.com/esl/erlide.git ("tracing" branch). > I've created eclipse update site here: http://esl.github.com/erlide/site/ > (

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-09-08 Thread Vlad Dumitrescu
On Wed, Sep 8, 2010 at 18:29, Piotr Dorobisz wrote: > Hi, > I wanted to create my own update site with tracing feature but I had some > problems with it. > I created feature project in which I specified my plugins. Then I created > another project (update site project) where I specified this fea

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-09-08 Thread Piotr Dorobisz
Hi, I wanted to create my own update site with tracing feature but I had some problems with it. I created feature project in which I specified my plugins. Then I created another project (update site project) where I specified this feature in site.xml. After clicking "Build" eclipse starts prepar

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-09-01 Thread Vlad Dumitrescu
hi, On Wed, Sep 1, 2010 at 14:04, Piotr Dorobisz wrote: > Unfortunately it won't work. Okay, I'll keep this in mind - or better, write a ticket about it. > If you have some time could you checkout my ttb branch and take a look on my > plugin? Once I wrote how to use it but I'll do it again: >

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-09-01 Thread Piotr Dorobisz
Hi, Unfortunately it won't work. It's because I'm starting new node using ILaunchConfiguration.launch() as you suggested me. And only thing it cares about are parameters set in my getLaunchConfiguration method which looks like this (it's copied from yours with some modifications): private ILaunc

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-31 Thread Vlad Dumitrescu
Hi! On Tue, Aug 31, 2010 at 15:52, Piotr Dorobisz wrote: > As I wrote you few days ago I managed to create my own node using > launchConfig.launch(): > >    private Backend createBackend(String name) { >        final RuntimeInfo info = > RuntimeInfo.copy(ErlangCore.getRuntimeInfoManager().getEr

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-24 Thread Piotr Dorobisz
Hi, At the end of createIdeBackend() there is a line: ideBackend = createBackend(info, options, null); createBackend: private ErlideBackend createBackend(final RuntimeInfo info, final Set options, Map env) throws BackendException {

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-24 Thread Vlad Dumitrescu
On Tue, Aug 24, 2010 at 13:13, Piotr Dorobisz wrote: > Hello, > I wrote method to create my own node (actually I did it very similar to > BackendManager.getIdeBackend()). However, the problem is that this node is > started with long name (-name parameter) instead of short one. It happens > desp

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-24 Thread Piotr Dorobisz
Hello, I wrote method to create my own node (actually I did it very similar to BackendManager.getIdeBackend()). However, the problem is that this node is started with long name (-name parameter) instead of short one. It happens despite setting info.useLongName(false). What else can I do? Btw, wh

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-20 Thread Piotr Dorobisz
Yesterday I looked at wrong function so I haven't noticed "checkAllProjects" parameter;) However still it's not clear for me: public static boolean openExternalFunction(final String mod, final ErlangFunction function, final String path, final IErlMod

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-19 Thread Piotr Dorobisz
Thanks. I have to pass to this method path to file containing module. Is it possible to get path knowing module's name? Piotrek - "Jakob Cederlund" wrote: > Hi! > I think the method > org.erlide.ui.util.ErlModelUtils.openExternalFunction(String, > ErlangFunction, String, IErlModule, IProje

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-19 Thread Jakob Cederlund
Hi! I think the method org.erlide.ui.util.ErlModelUtils.openExternalFunction(String, ErlangFunction, String, IErlModule, IProject, boolean) is the best one. (We should really make a cleaner interface, but we haven't yet.) /Jakob 2010/8/19 Piotr Dorobisz > Hello, > Is there a method using which

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-16 Thread Vlad Dumitrescu
On Mon, Aug 16, 2010 at 16:36, Piotr Dorobisz wrote: > I wanted to change string into erlang fun, either on java side or on erlang. > I need it to create MatchSpecs from funs (there is dbg:fun2ms function). I'd > like user to enter fun in text area and then, if it's correct, turn into > MatchSp

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-16 Thread Piotr Dorobisz
I wanted to change string into erlang fun, either on java side or on erlang. I need it to create MatchSpecs from funs (there is dbg:fun2ms function). I'd like user to enter fun in text area and then, if it's correct, turn into MatchSpec. How can I do it? regards, Piotrek - "Vlad Dumitrescu"

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-16 Thread Vlad Dumitrescu
On Mon, Aug 16, 2010 at 16:12, Piotr Dorobisz wrote: > Is it possible to change string into erlang fun? Let say I have sth like that: > fun(X,Y)->X+Y end > I'd like to change it into OtpErlangFun and send to erlang node so it could > be executed there. After creating the backend, you can do what

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-15 Thread Vlad Dumitrescu
On Mon, Aug 16, 2010 at 00:20, Piotr Dorobisz wrote: > Where/how can I see output of erlang function (for example if I call > io:format) called using Backend.call? That's a little tricky. Not all backends have a console visible in Eclipse and the console is still not working 100% reliably. Bette

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-15 Thread Vlad Dumitrescu
On Sun, Aug 15, 2010 at 23:42, Piotr Dorobisz wrote: > So could you explain me how can I create new node (what arguments should I > pass to BackendManager.createBackend) on which I could start something (ttb > in this case)? Hi, I think you should use ErlangLaunchConfigurationDelegate.doLaunch

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-13 Thread Vlad Dumitrescu
On Fri, Aug 13, 2010 at 12:34, Piotr Dorobisz wrote: > Now there shouldn't be this timeout issue - I spawn new erlang process to > collect trace data so stop function returns immediately. But when tracing > many traces will be generated by dbg. I think that they shouldn't be shown as > they jus

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-13 Thread Piotr Dorobisz
n (especially launch parameter) to get node on which I could start tracing? regards, Piotrek - Original Message - From: "Vlad Dumitrescu" To: "Piotr Dorobisz" Cc: "erlide-devel" Sent: Wednesday, August 11, 2010 2:56:19 PM GMT +00:00 GMT Britain, Ireland, Portug

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-11 Thread Vlad Dumitrescu
On Wed, Aug 11, 2010 at 15:46, Piotr Dorobisz wrote: > It's really strange that you're still getting this problem. Can you write me > what exactly have you done, what settings etc? I forgot to mention that if > you want to trace function calls you should check "call" flag in "Processes" > tab (

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-11 Thread Piotr Dorobisz
x27;s the issue?). regards, Piotrek - Original Message - From: "Vlad Dumitrescu" To: "Piotr Dorobisz" Cc: "erlide-devel" Sent: Wednesday, August 11, 2010 2:27:58 PM GMT +00:00 GMT Britain, Ireland, Portugal Subject: Re: [Erlide-devel] Integrating tracing tool with erlid

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-11 Thread Vlad Dumitrescu
On Wed, Aug 11, 2010 at 13:49, Piotr Dorobisz wrote: > Please take a look on my latest update to ttb branch. Hi! Please set the projects' requirements to Java 1.5 (both in project properties and plugin.xml) We still have users that haven't upgraded. This will mark all the unnecessary "@Override"

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-08-03 Thread Vlad Dumitrescu
On Tue, Aug 3, 2010 at 10:57, Piotr Dorobisz wrote: > First prepare erlang project with module containing few functions and then > start erlang node ("run configuration..."). In "Erlang tracing control panel" > view refresh list of available backends and select one you started. Add > functions

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-07-20 Thread Vlad Dumitrescu
On Tue, Jul 20, 2010 at 20:07, Piotr Dorobisz wrote: > Btw, where can I report bugs, create new issues etc? I just sent you an invitation to our Assembla tools. regards, Vlad -- This SF.net email is sponsored by Sprint

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-07-20 Thread Piotr Dorobisz
Hi, I have some experience but rather small (once I worked a little with GEF and GMF). I'm an intern in Erlang Solutions and was asked to work on integrating tracing tools with erlide (I'm rather new to Erlang too). Last week I worked with Gyorgy Orosz (he works on integrating Wrangler) and he s

Re: [Erlide-devel] Integrating tracing tool with erlide

2010-07-20 Thread Jakob Cederlund
Seems reasonable! (Although I'm not sure that ttb offers that much for an erlide integration.) Maybe Vlad already asked this, but do you have any prior experience with Eclipse development? It's quite a lot, and takes a while to get into... Nice to see others working with Erlide in any case! /Jakob