Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Debugger no longer breaks, and segfaults

<< < (2/4) > >>

TheNullinator:
Hmm, I tried with revision 2264 and it seems to always skip the first breakpoint that control reaches in the Code::Blocks source.  If you put a breakpoint on the very next line it breaks there, but it doesn't seem to matter which function, or where in the function, you put the first breakpoint, it is still skipped.  It doesn't do it for other projects, though.

I'll give the wxWidgets new project one a go in a little while and see if it seg faults.

TheNullinator:
I can't run a wxWidgets template project under the debugger without it seg faulting, with or without breakpoints.  I'm using the same wxWidgets DLL as the one Code::Blocks uses and Code::Blocks debugs fine (apart from skipping the first breakpoint).

Pecan:
I downloaded a completely fresh copy of CodeBlocks SVN 2264.
Any template wxWidget segfaults when using the debugger but.
for me, runs ok on its own.

I cannot get SVN 2264 or 2263 or 2258 to break at any breakpoints.

I reloaded an older copy of SVN 2199 from my backup disk. It works fine every time. Even breaks on the first breakpoint.

To make sure it's not a wxWidget lib problem, I swaped the backed up
 lib version with the current. Nothing changed. So it's not the libs.

It was all working fine Firday. I thought that version was SVN 2258.
But now I can't get that to debug either. I'm at a lose to figure this out.
I'd almost think something besides the .exe and .dll are causing this.

pecan

Pecan:

--- Quote from: TheNullinator on March 28, 2006, 02:06:14 am ---I can't run a wxWidgets template project under the debugger without it seg faulting, with or without breakpoints.  I'm using the same wxWidgets DLL as the one Code::Blocks uses and Code::Blocks debugs fine (apart from skipping the first breakpoint).

--- End quote ---

You're right. Debugging CodeBlocks.exe itself (via SVN 2264) works if you put a two breakpoints together, one after the other.
It always skips the first breakpoint.

When debugging CB itself, it does not segfault.

Another mystery....

tiwag:

--- Quote from: Pecan on March 28, 2006, 02:47:20 am ---
Any template wxWidget segfaults when using the debugger but for me, runs ok on its own.
I cannot get SVN 2264 or 2263 or 2258 to break at any breakpoints.


--- End quote ---

i can confirm this behaviour,
my last backup-build ( where debugging works without segfault's as pecan has described ) is CB svn rev2251.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version