Hi, Two weeks ago I showed Erlide to one guy who has never used it before (he's developing some big project in Erlang). He tried it and liked it:) However he has some problems while debugging. Here are his emails:
----------------------------------------- I gave erl-ide a good go and after a while got it working!! It always gives me this odd error on my erlang node running in my Terminal app on my mac, though its not a problem as the code all works fine — breakpoints and all! =ERROR REPORT==== 17-Sep-2010::17:14:03 === Error in process <0.732.0> on node 'ejabb...@localhost' with exit value: {badarg,[{erlang,register,[erlide_builder,<0.734.0>]},{erlide_batch,start,2},{erlide_kernel_common,'-init/3-fun-1-',3}]} =ERROR REPORT==== 17-Sep-2010::17:14:03 === Error in process <0.738.0> on node 'ejabb...@localhost' with exit value: {badarg,[{erlang,register,[erlide_scanner_listener,<0.739.0>]},{erlide_scanner_listener,start,0},{erlide_kernel_ide,'-init/0-fun-0-',0}]} ----------------------------------------- Yes i have been giving erlide a good go and it mostly works. The main problem i was having is that my erlang code that connects to the "cassandra project" datastore over the "thrift" interface works perfectly when i run it directly on my erlang node in the mac terminal but when i connect into it with erlide (by adding the node name and correct cookie) my code all works fine (and i can debug it ) until it connects to the Cassandra Project and then crashes with loads and loads of written out onto the console. Its not a huge problem as i can run lots of my code with out connecting it to the db but its a bit of a pain… maybe if i don't run my erlang node in the console but instead tell erlide to run its own erlang node then it wont have that problem. The only other question, do you know where the final output of the called function thats debugged actually goes? as in if i do my on of my test "example_calls:read_doc_xml_back()." in the terminal it displays lots of output, but when debugging in erlide it seems to get lost? maybe its logged somewhere… il have a look! ----------------------------------------- ok cool i fixed my problem!! i still get this random junk on my console every time i debug : =ERROR REPORT==== 30-Sep-2010::00:51:19 === Error in process <0.747.0> on node 'ejabb...@localhost' with exit value: {badarg,[{erlang,register,[erlide_builder,<0.749.0>]},{erlide_batch,start,2},{erlide_kernel_common,'-init/3-fun-1-',3}]} =ERROR REPORT==== 30-Sep-2010::00:51:19 === Error in process <0.753.0> on node 'ejabb...@localhost' with exit value: {badarg,[{erlang,register,[erlide_scanner_listener,<0.754.0>]},{erlide_scanner_listener,start,0},{erlide_kernel_ide,'-init/0-fun-0-',0}]} & i have no idea what it means, but it does not effect my code. The way i got it to work with my cassandra project code was to remove all the Thrift code (the stuff that talks directly to the Cassandra Project DB, not my code ( its a RPC serialisation thing) ) from my erlide project and compile that stuff only in the console node and then it works fine The only slightly odd problem is when using erlide as a text editor (something i don't currently plan to do) it pauses for a few seconds every time i type something that matches an otp / erlang module (eg i type io:format and it locks up for a few seconds) i guess its trying to look up documentation and failing so il look in to that. but it is great, i now have a debugger that works soooo much better than the inbuilt one! ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Erlide-devel mailing list Erlide-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/erlide-devel