|
From: | John Swensen |
Subject: | Re: Breakpoint woes |
Date: | Thu, 30 Apr 2009 09:46:05 -0400 |
On Apr 27, 2009, at 8:59 PM, John W. Eaton wrote:
| Any suggestion on where to look next? I suppose this is "good enough" | and I can issue the rl_done from my IDE to force directory changes to | affect breakpoints immediately, but it would be nice if I could figure| out what is being called after each iteration of the readline loop | that causes these things to be updated. Exactly what is it that you are trying to update/get the status of? Whatever the problem is, I'd guess that setting rl_done is the best thing to do.
I am trying to have the IDE detect that a breakpoint is no longer valid after changing directories through the IDE. The problem lies in the fact that, as you described, the breakpoint status isn't even updated in Octave itself until a later time. This isn't a huge problem, just an annoyance that bugs me in Matlab and I wanted to fix.
Attached is the patch converting the std::map to a std::set in the bptable class. It seems to work much better and I have tried everything I new to make it crash before and it has no problems.
John Swensen
bptable_set.patch
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |