<div dir="ltr"><div>We have a debugging library which is part of sane-backends. It allows you to set an environment variable, and which causes the backend to print messages to STDERR. If your backend is part of sane-backends, you can use this library. If you backend is outside of sane-backends, you can certainly setup something similar in your backend. You should not have to recompile the frontend.<br>
<br></div>allan<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 22, 2013 at 6:46 AM, <span dir="ltr"><<a href="mailto:YiHao@rst.ricoh.com" target="_blank">YiHao@rst.ricoh.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Dear Sir or Madam:<br>
<br>
I want to know,<br>
How can I debug the sane-backend by frontend(e.g. scanimage),<br>
<br>
How to enter the backend's breakpoint,<br>
Do I need to compile the frontend if I want to know whether the backend<br>
receives the Frontend command.<br>
<br>
<br>
<br>
<br>
<br>
Can you give me some advise, Thank you.<br>
Best Regard<br>
<br>
Yours Sincerely, Yihao<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
sane-devel mailing list: <a href="mailto:sane-devel@lists.alioth.debian.org">sane-devel@lists.alioth.debian.org</a><br>
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel</a><br>
Unsubscribe: Send mail with subject "unsubscribe your_password"<br>
to <a href="mailto:sane-devel-request@lists.alioth.debian.org">sane-devel-request@lists.alioth.debian.org</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>"The truth is an offense, but not a sin"
</div>