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.
allan On Thu, Aug 22, 2013 at 6:46 AM, <YiHao at rst.ricoh.com> wrote: > > Dear Sir or Madam: > > I want to know, > How can I debug the sane-backend by frontend(e.g. scanimage), > > How to enter the backend's breakpoint, > Do I need to compile the frontend if I want to know whether the backend > receives the Frontend command. > > > > > > Can you give me some advise, Thank you. > Best Regard > > Yours Sincerely, Yihao > > > -- > sane-devel mailing list: sane-devel at lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel > Unsubscribe: Send mail with subject "unsubscribe your_password" > to sane-devel-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin" -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20130822/fe7fc492/attachment.html>
