You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 4403 Reporter: blume Assigned to:@xclerc Status: closed (set by @xavierleroy on 2011-05-29T10:14:15Z) Resolution: fixed Priority: normal Severity: major Version: 3.10+dev Fixed in version: 3.11.1+dev Category: ~DO NOT USE (was: OCaml general) Monitored by: paul_stravers
Bug description
ocamldebug gets confused when loading a program using modules created by -pack.
If the program contains several packages containing modules with the same name,
e.g.,
Foo1.Bar1
Foo1.Bar2
Foo2.Bar1
Foo2.Bar2
then it will display the source code of, say, Foo1.Bar1 whenever the program
executes code in either Foo1.Bar1 or Foo2.Bar1. Furthermore, the break command
does not work:
I checked with the latest CVS (tag: release311) but the problem is still present. Our company (10 engineers, rapidly growing) develops in ocaml and bug 4403 has been nagging us for some time...
To reproduce the problem with a small example, untar the attached file pack_debug.tgz', type make' in the unpacked directory, then follow the script in README.
If there is anything we can do to contribute to the resolution of PR 4403, please let us know.
Original bug ID: 4403
Reporter: blume
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2011-05-29T10:14:15Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.10+dev
Fixed in version: 3.11.1+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: paul_stravers
Bug description
ocamldebug gets confused when loading a program using modules created by -pack.
If the program contains several packages containing modules with the same name,
e.g.,
Foo1.Bar1
Foo1.Bar2
Foo2.Bar1
Foo2.Bar2
then it will display the source code of, say, Foo1.Bar1 whenever the program
executes code in either Foo1.Bar1 or Foo2.Bar1. Furthermore, the break command
does not work:
break Foo1.Bar1.some_function
results in "unknown identifier ..."
break @ Foo1.Bar1 #56
results in "syntax error"
break @ Bar1 #56
results in "there is no event at that location"
(All error messages reported from memory.)
File attachments
The text was updated successfully, but these errors were encountered: