Re: Debugging option in evince

Giselle Reis <[email protected]> Mon, 15 Sep 2014 15:44:23 +0200
Newsgroups gmane.comp.gnome.love
Message-ID <CAEkozwMT1ae-1x4HHXAGfkNbXRY4PJj_taAc5JS++VZccN-HDw@mail.gmail.com>
--===============4659885746526252672==
Content-Type: multipart/alternative; boundary=001a11c127505cff7f05031ad692

--001a11c127505cff7f05031ad692
Content-Type: text/plain; charset=UTF-8

Hi Eejya,

what are you trying to debug exactly?
I know many people use nemiver, although I was not able to use it myself...
You can give it a try.
I tried gdb at some point and managed to run it with the following:

libtool --mode=execute gdb --args ./shell/evince

Other than that, I was mostly going for memory checking. The EV_PROFILER
flag (or something like this) helped a lot, together with valgrind.

Cheers,
Giselle




On Mon, Sep 15, 2014 at 3:32 PM, Eejya Singh <[email protected]> wrote:

> Hi,
> I tried enabling the debug option in evince by using the following command:
> ./configure --enable-debug in the ~/jhbuild/checkout/evince folder.
> I then set the EV_DEBUG_JOBS flag to 1 while running evince something like:
> EV_DEBUG_JOBS=1 evince [path to the pdf/pdfname.pdf]
> However on  closing the window nothing is shown on the terminal.
> What could be the problem?
> Appreciate the help :)
>
> --
> Eejya Singh,
> 2nd year undergraduate,
> Computer Science,
> BITS Pilani Goa Campus
>
> _______________________________________________
> gnome-love mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/gnome-love
>
>

--001a11c127505cff7f05031ad692
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Hi Eejya,<br><br></div>what are you trying to de=
bug exactly?<br></div><div>I know many people use nemiver, although I was n=
ot able to use it myself... You can give it a try.<br>I tried gdb at some p=
oint and managed to run it with the following:<br><br>libtool --mode=3Dexec=
ute gdb --args ./shell/evince<br><br></div><div>Other than that, I was most=
ly going for memory checking. The EV_PROFILER flag (or something like this)=
 helped a lot, together with valgrind.<br><br></div><div>Cheers,<br>Giselle=
<br></div><div><br><br></div><br></div><div class=3D"gmail_extra"><br><div =
class=3D"gmail_quote">On Mon, Sep 15, 2014 at 3:32 PM, Eejya Singh <span di=
r=3D"ltr">&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">si=
[email protected]</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quo=
te" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"=
><div dir=3D"ltr"><div><div><div><div><div>Hi,<br></div>I tried enabling th=
e debug option in evince by using the following command:<br></div>./configu=
re --enable-debug in the ~/jhbuild/checkout/evince folder.<br></div>I then =
set the EV_DEBUG_JOBS flag to 1 while running evince something like:<br>EV_=
DEBUG_JOBS=3D1 evince [path to the pdf/pdfname.pdf]<br>However on=C2=A0 clo=
sing the window nothing is shown on the terminal.<br></div>What could be th=
e problem?<br></div>Appreciate the help :)<span class=3D"HOEnZb"><font colo=
r=3D"#888888"><br clear=3D"all"><div><div><div><div><div><div><div><br>-- <=
br><div dir=3D"ltr">Eejya Singh,<div>2nd year undergraduate,</div><div>Comp=
uter Science,</div><div>BITS Pilani Goa Campus</div></div>
</div></div></div></div></div></div></div></font></span></div>
<br>_______________________________________________<br>
gnome-love mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"https://mail.gnome.org/mailman/listinfo/gnome-love" target=3D"_b=
lank">https://mail.gnome.org/mailman/listinfo/gnome-love</a><br>
<br></blockquote></div><br></div>

--001a11c127505cff7f05031ad692--

--===============4659885746526252672==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gnome-love mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gnome-love

--===============4659885746526252672==--