Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  Question about debug info

Guest
Posted: Thu Aug 31, 2006 11:57 am Reply with quote
Guest
-----Original Message-----
From: Gomes, Pedro
Sent: quinta-feira, 31 de Agosto de 2006 12:48
To: 'erlang-bugs@erlang.com'
Subject: FW: Question about debug info

Can this situation be checked ?

Pedro

-----Original Message-----
From: Gaspar Chilingarov [mailto:nm@web.am]
Sent: quinta-feira, 31 de Agosto de 2006 12:14
To: Gomes, Pedro
Subject: Re: Question about debug info

Gomes, Pedro wrote:
> Hello,
> Thanks it does work yes! But then it seems that the erlang compiler is
> not parsing or processing the -compile clause as it documented rigth?
>
> Pedro

well, I had also problems with it, but had no time to investigate things
further. Smile


Gaspar

>
> -----Original Message-----
> From: Gaspar Chilingarov [mailto:nm@web.am]
> Sent: quinta-feira, 31 de Agosto de 2006 10:07
> To: Gomes, Pedro
> Subject: Re: Question about debug info
>
> Gomes, Pedro wrote:
>> Hello All,
>> I tryed to use the Erlang debugger and in order to do it I need to
>> compile the source modules with debug info and for that matter I used
>> -compile(debug_info)
>>
>> This seems to have no effect, even if the .beam module increases its
>> size, because the debugger still continues to issue an error saying
>> there no debug information present in the .beam module.
>>
>> What am I doing wrong ?
>>
>> Thanks,
>> Pedro
>>
>
> Would this help?
>
http://gasparch.blogspot.com/2006/08/erlang-programming-starting-visual.
> html
>


--
Gaspar Chilingarov

System Administrator,
Network security consulting

t +37493 419763 (mob)
i 63174784
e nm@web.am
Post recived from mailinglist
Guest
Posted: Thu Aug 31, 2006 12:28 pm Reply with quote
Guest
Gomes, Pedro wrote:
> Can this situation be checked ?

Try this (after recompiling and reloading the module):

1> mymodule:module_info(compile).
[{options,[...
...]},
...]
2>

and see if the options list contains 'debug_info'.

/Richard

Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum