Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Debugger no longer breaks, and segfaults
Pecan:
SVN 2264, XPsp2
The debugger no longer stops at breakpoints.
When debugging a simple template, it segfaults and
produces no backtrace.
1) New project/widgets gui
2) compile setting "produce debug..." and "all warnings"
3) run it. Should run fine.
4) set a break point on any OnInit() statement
5) hit continue
Program will segfault, asks if you want a backtrace, answer yes,
backtrace will be empty.
Second test
1)Load Codeblocks.cbp.
2) set a breakpoint on any statement in main.cpp:CreateToolbar();
3) hit debugger continue
CB will run without ever hitting the breakpoint.
All the above worked last Friday. (Today is monday)
Could someone confirm?
thanks
pecan
killerbot:
--- Code: ---void MainFrame::CreateToolbars()
{
wxXmlResource *myres = wxXmlResource::Get();
if (m_pToolbar)
{
SetToolBar(0L);
// delete m_pToolbar;
m_pToolbar = 0L;
}
wxString resPath = ConfigManager::GetDataFolder();
wxString xrcToolbarName = _T("main_toolbar");
--- End code ---
I think you mean this function, tried it with rev 2263 (WinXP SP2):
I put a breakpoint on :
wxXmlResource *myres = wxXmlResource::Get();
and
wxString resPath = ConfigManager::GetDataFolder();
CB did not stop at the first breakpoint, but it sure stopped on the second one.
Pecan:
Ok, I give
How can I get back to SVN 2263?
I cannot get 2264 to break anywhere. It just segfaults.
thanks
pecan
Edit: also, could you please try my little "new project" test?
TheNullinator:
To get back to revision 2263, type `svn up -r2263' in the Code::Blocks source directory.
Pecan:
--- Quote from: TheNullinator on March 28, 2006, 01:18:39 am ---To get back to revision 2263, type `svn up -r2263' in the Code::Blocks source directory.
--- End quote ---
Thanks, did that, compiled, and I still get the crashes... so that means I've
got something else broken on my system.
Could have been caused by the full disk compress I did this morning.
I'll delete the entire CodeBlocks source trunk and download again....
Oh, dear, I live on the end of a country POTS line. There goes my evening...
thanks
pecan
Navigation
[0] Message Index
[#] Next page
Go to full version