Using Eclipse CDT Debugger on OSX

31 views
Skip to first unread message

Prashant Mital

unread,
Apr 6, 2015, 8:46:56 PM4/6/15
to dea...@googlegroups.com
While trying to resolve an issue I was having with neighbor_of_coarser_neighbor () function, I decided to use the Eclipse CDT debugger on my OSX machine.

However, whenever I place a breakpoint anywhere in the interior of my program, it begins to throw the exception:

Breakpoint installation failed: Cannot access memory at address 0x3a2000

Breakpoints in main etc work just fine. What am I doing wrong here? I have a binary build of dealii that I downloaded from the website, and also have a locally compiled copy. Do I need to pass some special flags to CMake when I build dealii in order to enable debug flags? Also, I don't understand how CMake finds its copy of deal.ii. It seems that it always runs with the binary version. Can I specify a path to the installation I want to use?

Of course, all of this would be a lot easier if someone could just shed some light on why the neighbor_of... function isn't doing its job properly! :)

Prashant
Reply all
Reply to author
Forward
0 new messages