mdb_v8 icon indicating copy to clipboard operation
mdb_v8 copied to clipboard

postmortem debugging for Node.js and other V8-based programs

Results 36 mdb_v8 issues
Sort by recently updated
recently updated
newest added

There are times when symbols change over time. For instance: ``` /* * V8_SCOPEINFO_IDX_FIRST_VARS' value was 4 in V8 3.7 and up, * then 5 when StrongModeFreeVariableCount was added with...

mdb_v8.c has: ``` typedef struct v8_offset { ssize_t *v8o_valp; const char *v8o_class; const char *v8o_member; boolean_t v8o_optional; uint32_t v8o_flags; intptr_t v8o_fallback; } v8_offset_t; ``` `v8o_flags` has: ``` #define V8_CONSTANT_OPTIONAL 1...

I'm a fish-outta-water with this stuff, so apologies up-front. I'm trying to setup an environment to do some Node debugging, à la [this talk](https://www.youtube.com/watch?v=O1YP8QP9gLA). So far I've got [OmniOSCE r151032](https://omniosce.org)...

In the illumos-extra build, we set "$CFLAGS += -g" so that we can later ctfconvert the results and get CTF for mdb_v8.so itself. However, this isn't passed down to the...

v8 stashes a pointer to the current `Isolate` in a thread-local which we can very quickly read from mdb and use to walk down to the global object in use....

I have tried multiple times to get the mdb debugger working with core dumps generated on linux to no avail. The app in question uses node 0.12.7.The node.js process runs...

When debugging cases where an object is missing properties or has incorrect properties, one often needs to rummage through internal V8 structures, and I usually wind up adding debug printouts...

enhancement

`findjsobjects -r` is useful for finding which objects reference a particular object. However, it doesn't find references through closures. We should either extend it to include closure references or else...

enhancement

Objects and arrays can refer to functions (as in the case of Node's EventEmitter), so it's useful to be able to give `findjsobjects -r` a closure address and have it...

enhancement

#101 added a common mechanism to run the standalone tests to replace the boilerplate dozens of lines of code that the tests are using today. That change only refactored one...