Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocamldebug claims that record type is not a record type #5001

Closed
vicuna opened this issue Mar 10, 2010 · 3 comments
Closed

ocamldebug claims that record type is not a record type #5001

vicuna opened this issue Mar 10, 2010 · 3 comments

Comments

@vicuna
Copy link

vicuna commented Mar 10, 2010

Original bug ID: 5001
Reporter: greenrd
Status: confirmed (set by @damiendoligez on 2014-07-31T13:50:57Z)
Resolution: open
Priority: normal
Severity: feature
Version: 3.11.1
Category: tools (ocaml{lex,yacc,dep,debug,...})

Bug description

I am debugging Coq, and when the current frame is in certain modules, ocamldebug behaves like this:

(ocd) p env.env_rel_context
The type Environ.env is not a record type

However, in one module that command works.

@vicuna
Copy link
Author

vicuna commented Jun 1, 2011

Comment author: @damiendoligez

Could you tell us which module ?

Better yet, do you have a smaller repro case ?

@vicuna
Copy link
Author

vicuna commented Jul 31, 2014

Comment author: @damiendoligez

I guess this is the opacity problem: if the type is only exported from Environ.ml as an abstract type, ocamldebug can only access its definition when you are inside the module Environ.

It's not an easy problem to solve.

@github-actions
Copy link

This issue has been open one year with no activity. Consequently, it is being marked with the "stale" label. What this means is that the issue will be automatically closed in 30 days unless more comments are added or the "stale" label is removed. Comments that provide new information on the issue are especially welcome: is it still reproducible? did it appear in other contexts? how critical is it? etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants