|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
support for exception and conditional breakpoints?
In the RubyRecentChanges wiki page is this entry for July 10
Can someone give me a working example of how to use exception breakpoints, so I can write it up? When the exception occurs, where does the app stop at? 2. How do I set conditional breakpoints? |
|
|
Re: support for exception and conditional breakpoints?Chris Kutler wrote:
> In the RubyRecentChanges wiki page is this entry for July 10 > > * Support for Exception Breakpoints > * Support for Conditional Breakpoints > > 1, If I right-click in the Breakpoints window and choose New Breakpoint, > I get a dialog box to set an exception breakpont. It asks for an > exception class. I tried adding a breakpoint for > ActiveRecord::RecordNotFound and for RecordNotFound, but I do not see > the debugger stopping when these exceptions occur. [...] Erno has encountered the same issue today. Might be regression in latest builds. Could you file it? Thanks. > 2. How do I set conditional breakpoints? Set normal breakpoint and edit it. Either in breakpoint view or right-click it in the editor stripe. Breakpoint | Properties. m. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: support for exception and conditional breakpoints?Martin Krauskopf wrote: > >> 2. How do I set conditional breakpoints? > > Set normal breakpoint and edit it. Either in breakpoint view Can you be more specific on how to edit a breakpoint in the breakpoint view in order to create a conditional breakpoint? I right-clicked all over and couldn't find the right combination. > or right-click it in the editor stripe. Breakpoint | Properties. This does work. However, this breaks the debugger. I will make a note of it in the bug that I just filed about exception breakpoints. > > m. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@... > For additional commands, e-mail: dev-help@... > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
|
|
Re: support for exception and conditional breakpoints?Chris Kutler wrote:
> > > Martin Krauskopf wrote: >> >>> 2. How do I set conditional breakpoints? >> >> Set normal breakpoint and edit it. Either in breakpoint view > Can you be more specific on how to edit a breakpoint in the breakpoint > view in order to create a conditional breakpoint? I right-clicked all > over and couldn't find the right combination. you might specify breakpoint condition. >> or right-click it in the editor stripe. Breakpoint | Properties. > This does work. However, this breaks the debugger. I will make a note of > it in the bug that I just filed about exception breakpoints. See attached screenshots. m. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@... For additional commands, e-mail: dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |