Author Topic: Debugger breakpoint at exception throw  (Read 4071 times)

Offline Ingrater

  • Single posting newcomer
  • *
  • Posts: 7
Debugger breakpoint at exception throw
« on: November 29, 2009, 12:08:11 pm »
Hi, I already had a similar request and the functionality was build in into code::blocks to have a debugger breakpoint when a exception is thrown. The problem now is this only works for sjlj exceptions. Lately I've upgraded to gcc 4.4 (mingw) and now the debugger does not halt on exceptions any more because gcc 4.4 is using dwarf2 exceptions. Can I manually set a breakpoint for the function that throws dwarf2 exceptions or can it again be built into the code::blocks debugger options?

Regards Ingrater

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7588
    • My Best Post
Re: Debugger breakpoint at exception throw
« Reply #1 on: November 29, 2009, 07:23:37 pm »
I have no Idea if the Code I submitted to fix the Crash Reports for DW2 fixes the debug issue. I would even guess it would not fix it. But, I do not use debug enough to know if it is related.

My patch for crash report fix is [ Patch #2780 ] Add code to build exchndl.dll to Core Project
http://developer.berlios.de/patch/?func=detailpatch&patch_id=2780&group_id=5358

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org