[bt-devel] help debugging bibletime..
Mark Lybarger
bt-devel@crosswire.org
Thu, 06 Sep 2001 05:10:04 -0400
i figured it out now. k had to use --enable-debug along with the
configure, kdevelop doens't handle this automagically.
Mark Lybarger wrote:
> I'm not sure what you mean by having debug code in the app? I see lots
> of qDebug statements through out the application, but what i would like
> to do is set a breakpoint to be able to examine variables, etc. A
> little more than the trusty cout/printf statements. I am using the
> debug item in the Kdevelop menu to run the application.
>
> To be more detailed, From the C++ tab in Kdevelop, I select a few lines
> of code to toggle a breakpoint. I left click in the left hand margin
> seems to toggle breakpoints. From there, I select "Debug -> Start".
> This appears to compile any changes needed for the build. When that's
> done, I select "Debug -> Run", and the application seems to start (i'm
> assuming this is the debug mode?). One the bottom view, I notice the
> "Breakpoint" tab has my breakpoints listed, but they say
> "Pending add > breakpoint at
> ..../bibletime/frontend/searchdialog/csearchdoaloguresultview.cppp:609",
> etc, etc.
>
> When I run the application, I would expect it to break or stop when i
> hit the line that I set a break point for, but it's not seeming to
> break. I'm not an expert with Kdevelop, so it's probably something
> simple i've messed up.
>
> Thanks!
> Mark
>
>
>
>
> Joachim Ansorg wrote:
>
>> Hi!
>>
>> You need debug codein the app and you have to execute bibletim with
>> the menu item "Debug" in the KDEvelop menu.
>>
>> Joachim
>>
>>
>>
>>> i'm having troubles trying to debug bibletime. When i set a breakpoint
>>> in kdevelop, the breakpoint tab says "pending add > breakpoint at.."
>>> the application never seems to break at all when it encounters executes
>>> the line in question. any ideas?
>>>
>>> thanks!
>>> Mark
>>>
>>
>
>
>
>