User forums > Help
[solved]debugger pop-up doesn't fit on screen
visir:
pop-up is ValueTooltip in watchesdlg.cpp, correct?
Tried to place a breakpoint on ValueTooltip::ValueTooltip, doesn't seem to work. Don't know if I'm in debug or release mode, target just says "all". (It should have debug info, it's in the devel folder)
Where is the main() function?
visir:
This bit looks interesting.
void ValueTooltip::Fit()
{
::SetMinSize(m_grid);
m_sizer->Fit(m_panel);
wxPoint pos = GetScreenPosition();
wxSize size = m_panel->GetScreenRect().GetSize();
SetSize(pos.x, pos.y, size.x, size.y);
}
Can't really do anything with it till I figure out why breakpoints don't work.
visir:
Tried setting breakpoint on main.cpp/MainFrame::MainFrame(). Doesn't work. It works with other apps, but not when I try to debug codeblocks with codeblocks. I'm opening one in "devel" folder with one in "output" folder, so it should work.
Also I changed SetSize(pos.x, pos.y, size.x, size.y); to SetSize(pos.x, 0, size.x, size.y);, nothing changed either.
BlueHazzard:
Have you build codeblocks with debug symbols enabled?
You have to set the global variable "cb" to "-g"
Also, if you change something in a plugin you have to test it trough codeblocks or run the update script again, so all plugins get copied again
visir:
No, I didn't set it. Thank you for telling this.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version