Any documents for how to build the shib idp from the source code and how to run and debug the idp?
Paul Hethmon
paul.hethmon at clareitysecurity.com
Mon Oct 15 17:54:16 EDT 2012
I follow what I learned from Kernighan and Ritchie long ago, use printf. Or in this case, make use of the extensive and easily controlled logging using logback.
The code is complex, you could spend hours stepping through a debugger. Instead, turn up the debug level to TRACE and see how many gigabytes of data one request can create. If you don't see something, then add some debugging statements and recompile.
Paul
From: Yaowen Tu <yaowen.tu at gmail.com<mailto:yaowen.tu at gmail.com>>
Reply-To: Shibboleth Dev <dev at shibboleth.net<mailto:dev at shibboleth.net>>
Date: Monday, October 15, 2012 5:43 PM
To: Shibboleth Dev <dev at shibboleth.net<mailto:dev at shibboleth.net>>
Subject: Re: Any documents for how to build the shib idp from the source code and how to run and debug the idp?
Thanks Paul Scott, I understand your point.
Just curious, how do you develop the Shibboleth IdP then? If there are some bug in the code, don't you use some tool to debug?
Yaowen
On Mon, Oct 15, 2012 at 2:38 PM, Cantor, Scott <cantor.2 at osu.edu<mailto:cantor.2 at osu.edu>> wrote:
On 10/15/12 5:34 PM, "Paul Hethmon" <paul.hethmon at clareitysecurity.com<mailto:paul.hethmon at clareitysecurity.com>>
wrote:
>I have found this very difficult to do. The few times I've tried it, I
>ended up getting frustrated and giving it up.
>
>What you need to do though is not look at it as how to debug Shibboleth,
>but how do I debug an web application with the tools I have. At the end
>of the day, Shibboleth is just another web application. So if you're
>using Eclipse and its embedded Tomcat,
> then that's what you have to set up.
Right. I haven't tried, but it's not specific to Shibboleth.
-- Scott
--
To unsubscribe from this list send an email to dev-unsubscribe at shibboleth.net<mailto:dev-unsubscribe at shibboleth.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://shibboleth.net/pipermail/dev/attachments/20121015/badc20d8/attachment.html
More information about the dev
mailing list