Windows XP, Eclipse 3.2.0, Erlide 0.3.35, Erlang/OTP R11B.

I notice the Erlide web page says the latest version is 0.3.33, but I guess
that's just a little out of date and I shouldn't worry about it.

I've just created a really boring project:
testerl
   - ebin
      - new_file.beam (auto-generated)
   - include
   - src
      - new_file.erl (created by right-clicking on src,
New->Other->Erlang->Module)

new_file.erl exports do_test/0 which simply io:outputs "Hello world!".

I created a launch config with "Start function" specified as module
new_file, function do_test, everything else left to the defaults. When I run
it, I get a console, but no hint of my code, see end of e-mail. I expected
to see "Hello world!"

Eshell V5.5.5  (abort with ^G)
([EMAIL PROTECTED])1> new_file:do_test().
** exited: {undef,[{new_file,do_test,[]},
                   {erl_eval,do_apply,5},
                   {shell,exprs,6},
                   {shell,eval_loop,3}]} **

=ERROR REPORT==== 15-Nov-2007::10:17:00 ===
Error in process <0.35.0> on node '[EMAIL PROTECTED]' with exit value:
{undef,[{new_file,do_test,[]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}

([EMAIL PROTECTED])2> code:is_loaded(new_file).
false
([EMAIL PROTECTED])3> code:load_file(new_file).
{error,nofile}
([EMAIL PROTECTED])8> io:format("~p", [code:get_path()]).
[".",
 "c:/erlang/ERL55~1.5/lib/kernel-2.11.5/ebin",
 "c:/erlang/ERL55~1.5/lib/stdlib-1.14.5/ebin",
 "c:/erlang/ERL55~1.5/lib/xmerl-1.1.4/ebin",
 "c:/erlang/ERL55~1.5/lib/webtool-0.8.3.1/ebin",
 "c:/erlang/ERL55~1.5/lib/typer-0.1.0.1/ebin",
 "c:/erlang/ERL55~1.5/lib/tv-2.1.4.1/ebin",
 "c:/erlang/ERL55~1.5/lib/tools-2.5.5/ebin",
 "c:/erlang/ERL55~1.5/lib/toolbar-1.3.0.1/ebin",
 "c:/erlang/ERL55~1.5/lib/syntax_tools-1.5.3/ebin",
 "c:/erlang/ERL55~1.5/lib/ssl-3.1.1.1/ebin",
 "c:/erlang/ERL55~1.5/lib/ssh-0.9.9.1/ebin",
 "c:/erlang/ERL55~1.5/lib/snmp-4.9.3/ebin",
 "c:/erlang/ERL55~1.5/lib/sasl-2.1.5.1/ebin",
 "c:/erlang/ERL55~1.5/lib/runtime_tools-1.6.6/ebin",
 "c:/erlang/ERL55~1.5/lib/pman-2.6/ebin",
 "c:/erlang/ERL55~1.5/lib/parsetools-1.4.1.1/ebin",
 "c:/erlang/ERL55~1.5/lib/otp_mibs-1.0.4.1/ebin",
 "c:/erlang/ERL55~1.5/lib/os_mon-2.1.2.1/ebin",
 "c:/erlang/ERL55~1.5/lib/orber-3.6.6/ebin",
 "c:/erlang/ERL55~1.5/lib/odbc-2.0.8/ebin",
 "c:/erlang/ERL55~1.5/lib/observer-0.9.7.4/ebin",
 "c:/erlang/ERL55~1.5/lib/mnesia_session-1.1.6.1/ebin",
 "c:/erlang/ERL55~1.5/lib/mnesia-4.3.5/ebin",
 "c:/erlang/ERL55~1.5/lib/mnemosyne-1.2.7.1/ebin",
 "c:/erlang/ERL55~1.5/lib/megaco-3.6.0.1/ebin",
 "c:/erlang/ERL55~1.5/lib/jinterface-1.3",
 "c:/erlang/ERL55~1.5/lib/inviso-0.4/ebin",
 "c:/erlang/ERL55~1.5/lib/inets-4.7.16/ebin",
 "c:/erlang/ERL55~1.5/lib/ic-4.2.13/ebin",
 "c:/erlang/ERL55~1.5/lib/hipe-3.6.3/ebin",
 "c:/erlang/ERL55~1.5/lib/gs-1.5.7/ebin",
 "c:/erlang/ERL55~1.5/lib/et-1.0.0.1/ebin",
 "c:/erlang/ERL55~1.5/lib/erl_interface-3.5.5.3",
 "c:/erlang/ERL55~1.5/lib/edoc-0.7.3/ebin",
 "c:/erlang/ERL55~1.5/lib/docbuilder-0.9/ebin",
 "c:/erlang/ERL55~1.5/lib/dialyzer-1.7.0/ebin",
 "c:/erlang/ERL55~1.5/lib/debugger-3.1.1.1/ebin",
 "c:/erlang/ERL55~1.5/lib/crypto-1.5.1.1/ebin",
 "c:/erlang/ERL55~1.5/lib/cosTransactions-1.2.2/ebin",
 "c:/erlang/ERL55~1.5/lib/cosTime-1.1.1/ebin",
 "c:/erlang/ERL55~1.5/lib/cosProperty-1.1.4/ebin",
 "c:/erlang/ERL55~1.5/lib/cosNotification-1.1.5/ebin",
 "c:/erlang/ERL55~1.5/lib/cosFileTransfer-1.1.3/ebin",
 "c:/erlang/ERL55~1.5/lib/cosEventDomain-1.1.1/ebin",
 "c:/erlang/ERL55~1.5/lib/cosEvent-2.1.1/ebin",
 "c:/erlang/ERL55~1.5/lib/compiler-4.4.5/ebin",
 "c:/erlang/ERL55~1.5/lib/asn1-1.4.5/ebin",
 "c:/erlang/ERL55~1.5/lib/appmon-2.1.9/ebin"]ok

I've obviously done something wrong, because there must be some way to run
your code, but I truly can't guess. Any ideas?

Many thanks,

Ben.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Erlide-devel mailing list
Erlide-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlide-devel

Reply via email to