[Debian-science-sagemath] debugging
Tobias Hansen
thansen at debian.org
Sat Nov 19 00:38:04 UTC 2016
If you do
export SAGE_LOCAL = $(shell pwd)/debian/build/usr
(as in debian/rules)
and then
make --directory=sage build
it should normally just recompile the changed file.
I haven't tried it though.
On 11/19/2016 12:31 AM, Jerome BENOIT wrote:
> Thanks for the prompt reply:
>
> On 19/11/16 00:23, Tobias Hansen wrote:
>> Hi,
>
>> the code is compiled with Cython and installed to
>> debian/build/usr/lib/python2.7/dist-packages/sage.
>
> Interesting. I am lost.
>
> How can I run the modified code ?
>
> Jerome
>
>
>> Best,
>> Tobias
>
>> On 11/19/2016 12:18 AM, Jerome BENOIT wrote:
>>> Hello,
>>>
>>> Let assume taht I am in sagemath/sage . When I enter
>>>
>>> $ ./sage -t -d --long src/sage/interfaces/gap.py
>>>
>>> I get the desire output, and I can play with Pdb .
>>>
>>> Now, if I modify src/sage/interfaces/gap.py by hand ,
>>> it appears that the modifications are not taking into account:
>>> what do I miss ?
>>>
>>> Thanks in advance,
>>> Jerome
>>>
>>>
>>> _______________________________________________
>>> Debian-science-sagemath mailing list
>>> Debian-science-sagemath at lists.alioth.debian.org
>>> https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
>>>
>
>
>> _______________________________________________
>> Debian-science-sagemath mailing list
>> Debian-science-sagemath at lists.alioth.debian.org
>> https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
>
>
>
> _______________________________________________
> Debian-science-sagemath mailing list
> Debian-science-sagemath at lists.alioth.debian.org
> https://lists.alioth.debian.org/mailman/listinfo/debian-science-sagemath
>
More information about the Debian-science-sagemath
mailing list