Code Monkey home page Code Monkey logo

Comments (7)

ndmitchell avatar ndmitchell commented on May 6, 2024

As far as I can tell, the current docs still work. What problem are you seeing?

from debug.

marklnichols avatar marklnichols commented on May 6, 2024

I get:

interactive :1:1: error:
* Variable not in scope: debugView
* Perhaps you meant `Debug.debugView' (imported from Debug)

from debug.

ndmitchell avatar ndmitchell commented on May 6, 2024

What instructions are you following? Any deviations?

from debug.

marklnichols avatar marklnichols commented on May 6, 2024

It seems that all such problems go away if I specifically load the Debug module via
:m + Debug

The different form of the error message (with the "Perhaps you meant...") made me think it was a different problem...so it is covered by the documentation (via the comment in the FAQ)

I seem to always need to specifically load Debug via. :m -- do you not need to do that? I can't find anything I'm doing differently from the instructions, other than using stack commands for ghci, etc.

Maybe that ":m + Debug" should be part of the main instructions rather than part of the FAQ?

from debug.

ndmitchell avatar ndmitchell commented on May 6, 2024

Which instructions are you following? I'm following the ones at https://github.com/ndmitchell/debug#haskell-debugger----

from debug.

marklnichols avatar marklnichols commented on May 6, 2024

Yes, those same instructions. Could it be a difference between calling ghci directly vs stack ghci?

from debug.

ndmitchell avatar ndmitchell commented on May 6, 2024

Which debug is stack ghci picking up? Does the issue go away if you run ghci directly? What happens if you run stack exec ghc-pkg list?

from debug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.