[m-rev.] review: make source to source debugging available in any grade
Peter Ross
pro at missioncriticalit.com
Thu Jul 19 18:57:46 AEST 2012
On 19 July 2012 08:29, Zoltan Somogyi <zs at unimelb.edu.au> wrote:
> On 19-Jul-2012, Peter Ross <pro at missioncriticalit.com> wrote:
>> compiler/prog_data.m:
>> compiler/simplify.m:
>> Remove code for handling the .ssdebug grade componennt.
>>
>> doc/reference_manual.texi:
>> Remove .ssdebug from the manual.
>
> What is the reasoning behind removing the grade? How does it help you?
>
Actually what Peter Wang posted about third party libraries not being
able to being able to be distributed in the debug form has convinced
me to keep the ssdebug grades. I didn't consider that use case.
> Ordinary debugging is possible either using .debug grades, which guarantee
> that every module is compiled with at least trace level shallow, and using
> non-debug grades, which do not have such a guarantee, but allow the programmer
> to turn on debugging for a few modules without recompiling the rest of the
> program.
>
> Is there some reason why the same thing couldn't or shouldn't be done
> for src-to-src debugging?
>
Yes that is the correct solution. I will modify my diff accordingly.
Pete
--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to: mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions: mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------
More information about the reviews
mailing list