running project hangs
This may or not be related to crypto().
It works for me (Vlad) see below for the log traces
//////////////////////
Ok. This is simple steps for reproduce my problem:
1. Create new erlang project and call it crypt_stuck_test for example
2. Create new erlang module test.erl
3. Write this text into test.erl:
========================================================
-module(test).
-export([start/0]).
start() ->
io:format("Starting crypto...~n"),
crypto:start(),
io:format("Crypto started!~n"),
ok.
========================================================
4. Create new debug configuration and call it "Stuck crypt conf" for example, select crypt_stuck_test project in it, set "Module" to test and "Function" to start, set "Node name" to test_node and switch on "Start the Erlang node if not running already".
5. Start do debug "Stuck crypt conf"
That's all :) Code will always stuck at crypto:start() line (there are no exception thrown there, you may sure).
PS: If to execute command
crypto:start().
in erlang ErlIDE console, ErlIDE and Eclipse will stuck at all and it will be very hard to close Eclipse after it.
----------------
My trace log looks like
12:17:14,029 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{auto_attach,{[break],{erlide_dbg_mon,send_attached_to_java,[#Pid<jerlide_9d64a4@EV001B784AC0A2.1.0>]}}}}
12:17:14,086 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{interpret,new_file}}
12:17:14,089 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{started,#Pid<zuzu@EV001B784AC0A2.51.0>}
12:17:14,141 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{new_process,{#Pid<zuzu@EV001B784AC0A2.56.0>,{new_file,f,["hest"]},running,{}}}}
12:17:14,298 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{new_status,#Pid<zuzu@EV001B784AC0A2.56.0>,idle,{}}}
12:17:14,298 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{new_status,#Pid<zuzu@EV001B784AC0A2.56.0>,exit,normal}}
compared to yours
11:28:12,263 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{auto_attach,{[break],{erlide_dbg_mon,send_attached_to_java,[#Pid<jerlide_f94cbe0@NTO-23.1.0>]}}}}
11:28:12,263 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{started,#Pid<snmp_manager@NTO-23.51.0>}
It works for me (Vlad) see below for the log traces
//////////////////////
Ok. This is simple steps for reproduce my problem:
1. Create new erlang project and call it crypt_stuck_test for example
2. Create new erlang module test.erl
3. Write this text into test.erl:
========================================================
-module(test).
-export([start/0]).
start() ->
io:format("Starting crypto...~n"),
crypto:start(),
io:format("Crypto started!~n"),
ok.
========================================================
4. Create new debug configuration and call it "Stuck crypt conf" for example, select crypt_stuck_test project in it, set "Module" to test and "Function" to start, set "Node name" to test_node and switch on "Start the Erlang node if not running already".
5. Start do debug "Stuck crypt conf"
That's all :) Code will always stuck at crypto:start() line (there are no exception thrown there, you may sure).
PS: If to execute command
crypto:start().
in erlang ErlIDE console, ErlIDE and Eclipse will stuck at all and it will be very hard to close Eclipse after it.
----------------
My trace log looks like
12:17:14,029 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{auto_attach,{[break],{erlide_dbg_mon,send_attached_to_java,[#Pid<jerlide_9d64a4@EV001B784AC0A2.1.0>]}}}}
12:17:14,086 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{interpret,new_file}}
12:17:14,089 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{started,#Pid<zuzu@EV001B784AC0A2.51.0>}
12:17:14,141 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{new_process,{#Pid<zuzu@EV001B784AC0A2.56.0>,{new_file,f,["hest"]},running,{}}}}
12:17:14,298 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{new_status,#Pid<zuzu@EV001B784AC0A2.56.0>,idle,{}}}
12:17:14,298 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{new_status,#Pid<zuzu@EV001B784AC0A2.56.0>,exit,normal}}
compared to yours
11:28:12,263 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{int,{auto_attach,{[break],{erlide_dbg_mon,send_attached_to_java,[#Pid<jerlide_f94cbe0@NTO-23.1.0>]}}}}
11:28:12,263 FINER: (ErlangDebugTarget.java:430) : ### got msg:
{started,#Pid<snmp_manager@NTO-23.51.0>}
Leave a comment
on 2008-12-10 11:27 *
By Vlad Dumitrescu
Description changed from This may or not be related ... to This may or not be related ...
Description changed from This may or not be related ... to This may or not be related ...
on 2009-04-09 07:54 *
By Vlad Dumitrescu
Milestone changed from backlog to 1.0
Milestone changed from backlog to 1.0
Updating tickets (#194, #200, #208, #217, #218, #220, #221, #224, #229, #241, #245, #252, #261, #265, #274, #276, #278, #280, #281, #283, #285, #291, #294, #298, #307, #316, #317, #318, #326, #331, #332, #335, #336, #338, #339, #342, #343, #348, #56, #69, #87, #106, #144, #166, #195, #198, #234, #255, #264, #277, #313, #328, #344, #123)
Updating tickets (#384, #389, #396, #64, #291, #352, #358, #393, #398, #399, #41, #46, #52, #57, #61, #83, #93, #100, #111, #115, #135, #145, #148, #149, #152, #155, #159, #163, #181, #182, #194, #200, #208, #217, #218, #220, #221, #224, #229, #261, #265, #274, #280, #281, #283, #285, #294, #298, #307, #316, #318, #331, #332, #335, #336, #338, #348)
Updating tickets (#134, #40, #100, #114, #120, #129, #131, #137, #156, #157, #179, #211, #222, #228, #231, #326, #379, #455, #459, #41, #46, #52, #61, #64, #76, #83, #93, #95, #111, #115, #119, #130, #135, #145, #149, #152, #155, #159, #163, #164, #168, #170, #172, #181, #194, #200, #208, #218, #220, #223, #224, #241, #245, #252, #261, #265, #274, #276, #280, #281, #283, #285, #294, #298, #316, #317, #318, #331, #332, #335, #336, #339, #351, #364, #366, #372, #375, #377, #380, #385, #394, #398, #405, #413, #415, #418, #422, #423, #424, #425, #429, #430, #436, #437, #440, #442, #443, #445, #446, #448, #449, #452, #454, #461, #464, #471, #44, #56, #69, #87, #98, #106, #144, #166, #195, #234, #255, #264, #313, #328, #359, #387, #421, #428, #439, #463, #123)
on 2010-04-18 14:22 *
By Vlad Dumitrescu
Updating tickets (#134, #40, #43, #80, #100, #113, #120, #129, #131, #137, #156, #157, #179, #211, #222, #228, #231, #242, #326, #349, #379, #451, #455, #459, #523, #524, #530, #41, #46, #52, #58, #61, #62, #64, #76, #83, #89, #93, #95, #115, #116, #119, #121, #130, #135, #145, #149, #152, #155, #159, #163, #164, #168, #169, #170, #175, #181, #182, #188, #194, #199, #200, #205, #208, #210, #218, #219, #223, #224, #235, #237, #238, #239, #240, #241, #244, #252, #261, #265, #274, #276, #281, #283, #285, #294, #298, #316, #317, #318, #331, #332, #335, #336, #339, #340, #351, #354, #358, #364, #366, #372, #374, #375, #377, #378, #380, #383, #392, #394, #398, #405, #407, #410, #411, #412, #413, #415, #418, #422, #423, #424, #425, #427, #429, #430, #432, #436, #437, #438, #440, #442, #443, #445, #446, #447, #448, #449, #450, #452, #454, #460, #464, #465, #470, #471, #474, #477, #478, #479, #483, #484, #492, #493, #494, #495, #497, #498, #499, #506, #508, #510, #511, #512, #514, #515, #516, #517, #519, #521, #536, #537, #540, #541, #542, #543, #545, #546, #42, #44, #53, #54, #56, #67, #68, #69, #84, #87, #98, #99, #101, #106, #117, #118, #132, #144, #160, #166, #195, #216, #234, #249, #255, #264, #313, #314, #321, #328, #359, #387, #416, #419, #421, #428, #439, #463, #485, #488, #489, #528, #59, #123, #433)
on 2010-05-31 06:40 *
By Vlad Dumitrescu
Updating tickets (#503, #529, #40, #43, #120, #157, #179, #211, #222, #228, #326, #379, #451, #459, #523, #524, #530, #559, #535, #176, #177, #386, #389, #409, #434, #473, #41, #52, #62, #64, #83, #93, #115, #135, #145, #149, #155, #159, #163, #181, #194, #199, #200, #208, #210, #219, #224, #261, #265, #274, #281, #283, #285, #294, #298, #316, #318, #331, #332, #335, #336, #358, #375, #383, #394, #398, #412, #413, #415, #422, #423, #424, #425, #432, #440, #442, #443, #446, #448, #449, #450, #452, #454, #460, #464, #471, #474, #479, #483, #484, #492, #497, #506, #510, #512, #516, #519, #521, #536, #537, #541, #543, #546, #555, #556, #561, #564, #565, #291, #431, #502, #520, #522, #532, #469, #42, #44, #69, #87, #132, #195, #234, #255, #264, #313, #387, #419, #421, #428, #439, #488, #489, #558, #123, #433, #80, #113, #137, #242, #349, #455, #46, #58, #61, #76, #89, #95, #116, #121, #152, #168, #169, #170, #175, #188, #205, #218, #223, #237, #240, #241, #252, #276, #317, #339, #340, #351, #354, #364, #366, #372, #374, #377, #380, #405, #407, #410, #429, #430, #436, #437, #438, #445, #447, #470, #477, #478, #493, #494, #495, #498, #499, #511, #545, #548, #562, #563, #373, #401, #475, #560, #53, #84, #98, #99, #106, #117, #118, #166, #216, #249, #314, #321, #328, #359, #463, #485, #134, #100, #156, #427, #554, #551, #552, #550, #553, #129, #131, #231, #114, #323, #325, #119, #130, #164, #182, #235, #238, #239, #244, #378, #392, #411, #465, #508, #514, #515, #517, #557, #54, #67, #68, #101, #144, #160, #416, #528)
on 2010-12-23 13:28 *
By Vlad Dumitrescu
Status changed from New to Invalid
Status changed from New to Invalid
this works for me and I have no other information to reproduce