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
I was debugging a core file on a Manta object. I was running version 1.1 of mdb and version 3.14.5.11 of mdb_v8:
jhendricks@manta # mdb $MANTA_INPUT_FILE
Loading modules: [ libumem.so.1 libc.so.1 ld.so.1 ]
> ::version
mdb 1.1
> ::load v8
mdb_v8 version: 1.1.4 (release, from 3a6fad0)
V8 version: 3.14.5.11
Autoconfigured V8 support from target
C++ symbol demangling enabled
While running a ::findjsobjects on the core, I ran CTRL+C. I then ran ::findjsobjects again, expecting it to restart, or at least error. Instead, it produced some output:
After discussion with @davepacheco, we determined ::findjsobjects would have simply stopped running after the user CTRL-C. This means that this list is an incomplete set of objects in the file, which is quite confusing to the user, given that it happily printed objects.
::findjsobjects should report an error in this case. One way to do this is to set a flag indicating whether the operation is done. If that flag isn't set, the operation should report an error.
The text was updated successfully, but these errors were encountered:
#88 want better support for bound functions
#91 CTRL+C of ::findjsobjects, followed by ::findjsobjects reports only some objects
Reviewed by: Cody Peter Mello <cody.mello@joyent.com>
Approved by: Cody Peter Mello <cody.mello@joyent.com>
I was debugging a core file on a Manta object. I was running version 1.1 of mdb and version 3.14.5.11 of mdb_v8:
While running a
::findjsobjects
on the core, I ran CTRL+C. I then ran::findjsobjects
again, expecting it to restart, or at least error. Instead, it produced some output:After discussion with @davepacheco, we determined
::findjsobjects
would have simply stopped running after the user CTRL-C. This means that this list is an incomplete set of objects in the file, which is quite confusing to the user, given that it happily printed objects.::findjsobjects
should report an error in this case. One way to do this is to set a flag indicating whether the operation is done. If that flag isn't set, the operation should report an error.The text was updated successfully, but these errors were encountered: