Skip to content

Cannot use install_printer in debugger #5647

@vicuna

Description

@vicuna

Original bug ID: 5647
Reporter: @garrigue
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2015-12-11T18:07:08Z)
Resolution: fixed
Priority: high
Severity: minor
Platform: Mac
OS: OSX
Version: 4.00.0+dev
Target version: 4.00.0+dev
Fixed in version: 4.00.0+dev
Category: tools (ocaml{lex,yacc,dep,debug,...})
Monitored by: mehdi

Bug description

Since topdirs.cmi was moved to compiler-libs, one gets the following error when using install_printer in ocamldebug:

tanpopo-essais> ocamldebug camlkb.byt
OCaml Debugger version 4.00.0+dev20_2012-06-04

(ocd) install_printer Pervasives.print_int
Unbound identifier Topdirs.printer_type_new

This can be solved by adding calling ocamldebug -I +compiler-libs, but then you get all the compiler libraries in your path.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions