<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Weide<div class=""><br class=""></div><div class="">The syntax is:</div><div class=""><br class=""></div><div class="">debugger:start().</div><div class=""><br class=""></div><div class="">debugger colon start () full stop</div><div class=""><br class=""></div><div class="">debbuger:start means the function start exported from the module debugger</div><div class=""><br class=""></div><div class="">Gordon</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">Le 21 juil. 2015 à 06:48, weoccc <<a href="mailto:weoccc@gmail.com" class="">weoccc@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi, <div class=""><br class=""></div><div class="">I am new to erlang and I am running mongooseIM app and want to do some debugging on local server. </div><div class=""><br class=""></div><div class="">I tried to follow the tutorial as show here : <a href="http://www.erlang.org/doc/apps/debugger/debugger_chapter.html" class="">http://www.erlang.org/doc/apps/debugger/debugger_chapter.html</a></div><div class=""><br class=""></div><div class="">but get some error: </div><div class=""><br class=""></div><div class=""><div style="font-size:12.8000001907349px" class="">Erlang/OTP 17 [erts-6.2] [source] [64-bit] [smp:8:8] [async-threads:10] [kernel-poll:false]</div><div style="font-size:12.8000001907349px" class=""><br class=""></div><div style="font-size:12.8000001907349px" class="">Eshell V6.2 (abort with ^G)</div><div style="font-size:12.8000001907349px" class="">1> debugger.start().</div><div style="font-size:12.8000001907349px" class="">* 1: syntax error before: '.'</div><div style="font-size:12.8000001907349px" class="">1> debugger:start().</div><div style="font-size:12.8000001907349px" class="">{error,{undef,[{wx,new,[],[]},</div><div style="font-size:12.8000001907349px" class=""> {dbg_wx_mon,init,3,[{file,"dbg_wx_mon.erl"},{line,113}]}]}}</div></div><div style="font-size:12.8000001907349px" class=""><br class=""></div><div style="font-size:12.8000001907349px" class="">Any idea how to fix those ?</div><div style="font-size:12.8000001907349px" class=""><br class=""></div><div style="font-size:12.8000001907349px" class="">Thx, </div><div style="font-size:12.8000001907349px" class=""><br class=""></div><div style="font-size:12.8000001907349px" class="">Weide </div></div>
_______________________________________________<br class="">erlang-questions mailing list<br class=""><a href="mailto:erlang-questions@erlang.org" class="">erlang-questions@erlang.org</a><br class="">http://erlang.org/mailman/listinfo/erlang-questions<br class=""></div></blockquote></div><br class=""></div></body></html>