#2215: :disable command to disable breakpoints
-----------------------------+----------------------------------------------
 Reporter:  SamB             |          Owner:         
     Type:  feature request  |         Status:  new    
 Priority:  normal           |      Milestone:         
Component:  GHCi             |        Version:  6.9    
 Severity:  major            |     Resolution:         
 Keywords:  debugger ghci    |     Difficulty:  Unknown
 Testcase:                   |   Architecture:  Unknown
       Os:  Unknown          |  
-----------------------------+----------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown

Comment:

 Note that you can do

 {{{
  > :set stop 0 :continue
 }}}

 which is effectively what you'd get with `:disable 0`.  You can do
 contitional breakpoints with this trick too, and also breakpoints that are
 ignored for a certain number of stops.  See the docs for `:set stop`:

 [http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci-
 commands.html]

 Admittedly this is a bit clunky, and you can't combine conditional
 breakpoints with disable, etc.  So I'll leave this ticket open.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2215#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to