[erlang-questions] Command-line Debugger?

Ahmed Al-Saadi thatpythonguy@REDACTED
Wed Feb 2 06:19:48 CET 2011


Dan:

It seems that the Homebrew Erlang installation on my Mac did not include 
the wx package! I downloaded the latest tarball from erlang.org and, so 
far, the previous problems with the debugger haven't manifested themselves.

I do have a first-generation macbook which has a 32-bit processor and I 
did install wxWidgets myself, so that must have avoided the pitfalls you 
mentioned.

Thanks for your input...

Cheers,
Ahmed


On 2/1/11 10:45 AM, Dan Gudmundsson wrote:
> Just for the information, the latest wx is 0.98.8 and is included with erlang.
> The old sourceforge site is dead... except some occasional support mail.
>
> But on MacOsX it only works for 32bits erlang currently, and also
> requires the user to install
> and build wxWidgets, the one included in snow leopard is buggy.
>
> /Dan
>
> On Tue, Feb 1, 2011 at 3:39 PM, Joseph Wayne Norton
> <norton@REDACTED>  wrote:
>> Ahmed -
>>
>> It may sound like a crazy idea but I'd recommend not using the debugger.
>>
>> Erlang's trace facilities are really great for troubleshooting code during development and production.
>>
>> The redbug tool is any easy way to get started with Erlang's tracer (https://github.com/massemanet/eper).
>>
>>
>> On 2011/02/01, at 23:28, Ahmed Al-Saadi wrote:
>>
>>> Sorry if this was double-submitted, but I think that it didn't go to the original group on the first attempt:
>>>
>>>
>>> Hello:
>>>
>>> I'm a newcomer to Erlang (from Python). I've had great difficulties in using the wx-based debugger and was wondering if there is a command-line alternative a la python's pdb?!
>>>
>>> It seems that every time I use the default debugger, my Wish app hangs or crashes. Even with the latest release of wxErlang (0.97.1212), I was not even able to set a breakpoint!
>>>
>>> The use of a good debugger to trace program execution is invaluable in learning a new language--a pedagogical role, in addition to its normal troubleshooting role.
>>>
>>> Any ideas of how I can improve the situation of my development environment? Is there another command-line debugger? My platform is MacOS X 10.6.6 with Erlang R14B... and, no, changing platforms is not an option ;)  Also, if I knew how to write a debugger at this point in time, I would try to do so! Some guidance from a veteran could help.
>>>
>>> TPG/TEG
>> Joseph Wayne Norton
>> norton@REDACTED
>>
>>
>>
>>
>> ________________________________________________________________
>> erlang-questions (at) erlang.org mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:erlang-questions-unsubscribe@REDACTED
>>
>>



More information about the erlang-questions mailing list