[erlang-questions] Command-line Debugger?

Ahmed Al-Saadi <>
Thu Feb 3 20:10:59 CET 2011


James:

I hesitantly tried erlide before posting to this mailing list, but I 
generally don't like IDEs and prefer command-line tools and editors (I 
use MacVim myself). One would have to learn a bunch of new non-core 
concepts (e.g., Run Configurations) just to be able to run a project 
when I only want to set a brake point to trace the code! I suppose 
erlide would be a good choice for someone who already uses Eclipse.

Cheers,
Ahmed


On 2/2/11 10:01 AM, James Churchman wrote:
> try erlide, a plugin for eclipse, http://erlide.org/ :-)
>
> On 2 Feb 2011, at 05:19, Ahmed Al-Saadi wrote:
>
>> 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 <http://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
>>> < <mailto:>>  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
>>>>  <mailto:>
>>>>
>>>>
>>>>
>>>>
>>>> ________________________________________________________________
>>>> erlang-questions (at) erlang.org <http://erlang.org> mailing list.
>>>> See http://www.erlang.org/faq.html
>>>> To unsubscribe; mailto:
>>>>
>>>>
>>
>>
>> ________________________________________________________________
>> erlang-questions (at) erlang.org <http://erlang.org> mailing list.
>> See http://www.erlang.org/faq.html
>> To unsubscribe; mailto:
>>
>



More information about the erlang-questions mailing list