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 et printers #3058
Comments
Comment author: administrator Bonjour Erwan,
La doc n'est sans doute pas très claire là-dessus, mais les Par exemple, supposons que dans le programme débuggé il y ait un type t:
Si on change toto.ml en:
et qu'on fait (ocd) load_printer toto.cmo puis qu'on imprime une variable "x" du programme qui a le type "toto list": (ocd) print x on devrait voir apparaître
au lieu de
comme avec l'afficheur par défaut.
|
Comment author: administrator On Fri, 30 Nov 2001, Xavier Leroy wrote:
Arf ! Un tout petit exemple dans la doc leverait cette ambiguité. <<Once a user-defined printer for a type t has been loaded and installed, Même si personnellement, je prefererais un exemple. Par ailleurs me fait penser à une question qui me démange à chaque fois La seule contrainte dans l'architecture décrite (rapidement) par cette -- |
Comment author: administrator User's misunderstanding. |
Original bug ID: 663
Reporter: administrator
Status: closed
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: erwan jahier
Version: 3.02
OS: solaris (SunOS cougourde 5.7 Generic_106541-04 sun4u sparc SUNW,Ultra-5_10)
Submission from: arpont.imag.fr (129.88.43.46)
Bonjour,
J'essaye d'utiliser un <> dans ocamldebug, et ca ne marche
pas.
Soit le fichier print.ml contenant la ligne suivante :
let toto _ = print_string "toto\n"
Dans ocamldebug je fais (apres avoir fait <>) :
(ocd) load_printer toto.cmo
File ./toto.cmo loaded
(ocd) install_printer Toto.toto
(ocd)
Donc, tout semble marcher. Et pourtant :
(ocd) Toto.toto
Unknown command.
(ocd) toto
Unknown command.
Ai-je raté quelque chose ?
The text was updated successfully, but these errors were encountered: