Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/77953dbf2d667343f878334c78d41b9957dd0b88

>---------------------------------------------------------------

commit 77953dbf2d667343f878334c78d41b9957dd0b88
Author: Simon Marlow <[email protected]>
Date:   Thu Feb 16 10:53:02 2012 +0000

    tweak error message

>---------------------------------------------------------------

 ghc/InteractiveUI.hs |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index 7454762..c92392d 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -2378,8 +2378,7 @@ breakSwitch (arg1:rest)
               md <- lookupModuleName mn
               breakByModuleLine md (read arg1) rest
            [] -> do
-              liftIO $ putStrLn "Cannot find default module for breakpoint."
-              liftIO $ putStrLn "Perhaps no modules are loaded for debugging?"
+              liftIO $ putStrLn "No modules are loaded with debugging support."
    | otherwise = do -- try parsing it as an identifier
         wantNameFromInterpretedModule noCanDo arg1 $ \name -> do
         let loc = GHC.srcSpanStart (GHC.nameSrcSpan name)



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to