products forums blog support careers about
  History | Log In     View a printable version of the current page.  
PRO USERS, to ensure 'PRIORITY SUPPORT' make sure that your ASAP account is "tagged" when you file the request. Click here for instructions on how to tag your account.
Issue Details (XML | Word | Printable)

Key: ROR-58
Type: Enhancement Enhancement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Chris Williams
Reporter: Wayne Magor
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Aptana RadRails

Allow multiple exception breakpoints and break on any exception

Created: 08/Nov/07 11:42 AM   Updated: 11/Mar/09 01:42 PM
Return to search
Component/s: Debugging
Affects Version/s: 0.9.1
Fix Version/s: 1.2.0

Issue Links:
Related
 

Impact on Workflow: Major
Studio Install Type: N/A
Participants: Chris Williams, Hudson Build System and Wayne Magor


 Description  « Hide
Currently, adding a break on exception overwrites the previous break on exception so that only one named exception can be done in a session. Please allow for multiple exception breakpoints.

Also, please add in the capability to break on any exception.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Chris Williams - 08/Nov/07 01:14 PM
Well I can modify the code to allow trying to set multiple exceptions, but after testing that it seems we're bumping into something else that is limiting to one - and unfortunately I think that may be the debugging libraries themselves.

Chris Williams - 13/Nov/07 12:35 PM
Pushing to 1.1.0 relse plan since this requires ruby-debug supporting multiple exceptions.

Chris Williams - 11/Dec/08 10:46 AM
This is an enhancement and therefore shouldn't be targeted at a bugfix release stream. At best it will get targeted for the next major release, which is 1.2.0.

Chris Williams - 11/Mar/09 11:40 AM
Looks like as of ruby-debug-base 0.10.1 it now supports multiple exception breakpoints (http://rubyforge.org/frs/shownotes.php?release_id=21031).

But in looking at ruby-debug-base code, and ruby-debug-ide, there's actually no way to turn an exception breakpoint off any more! I'm sending out an e-mail to Rocky who works on ruby-debug to see if I'm missing something or that needs to be added back into ruby-debug itself.


Hudson Build System - 11/Mar/09 12:00 PM
Integrated in rdt #63
partial implementation of - Allow multiple exception breakpoints and break on any exception.

Now we support adding multiple breakpoints. The issue is that if the user is using classic debugger this will get confusing since that only handles one (but hopefully they won't be using it). The other issue is that we now have to basically "disable" removing exception breakpoints in ruby-debug since the command to get rid of them no longer exists!


Chris Williams - 11/Mar/09 01:42 PM
Implemented, with the caveat of no longer being able to disable exception breakpoints (see ROR-1198).