Changelog

What changed in each release of ntoseye, newest first. The command-line tool, the Python package on PyPI, and the Rust crate on crates.io share one version number.

v0.53.0 (2026-11-06)

Stops over KD are several times faster, dx and dt show typed globals from private PDBs, and many bugs are fixed, in !heap and !pool on recent Windows 11 builds, in stack walks, and in symbols.

Added

  • !handle <handle> f on a user-mode minidump shows the object information the dump records: a thread’s or process’s IDs, TEB or PEB, priority and exit status, an event’s, mutant’s or semaphore’s state, and a section’s size. The SDK has it as UserHandle.object_info.

  • dx and dt show a global or static variable of a module whose PDB is private (your own driver’s, or a virtio driver’s) with its type: dx balloon!GUID_DEVINTERFACE_BALLOON reads the GUID’s fields, where they asked for a cast. Public PDBs, such as Windows’, still record no types for their variables.

  • On the memory backend, ~N and ~Ns select processor N, so !idt, !gdt, !pcr and the commands that read a processor’s PRCB inspect it, as on a halted target; its registers stay unavailable.

Changed

  • Breaking: PteWalk, the SDK’s !pte result, lists the entries the walk read as levels, root first, as VtopDetail does, in place of its pxe, ppe, pde and pte fields.

  • Breaking: sx aliases follow WinDbg’s event table: cc is Ctrl+C (0x40010005), where it named the C++ exception (eh); asrt is an assertion failure (0xC0000420); the breakpoint exception is bpe, where it was bp; and bpec, ssec, cce, ch, hc, wkd, aph, dbce, vcpp, clr and clrn are added.

  • Breaking: dt -a counts above 16 and dl sizes above 64 are errors, where they were cut silently, and dt’s help says arrays show their first 16 elements.

  • Breaking: The diagnostic traces are turned on by one environment variable, NTOSEYE_TRACE, a comma-separated list of kd, kd-bytes, gdb, step and unwind, in place of NTOSEYE_KD_TRACE, NTOSEYE_KD_TRACE_BYTES, NTOSEYE_GDB_TRACE, NTOSEYE_STEP_TRACE and NTOSEYE_UNWIND_TRACE, which any value turned on, 0 included.

  • Breaking: NTOSEYE_NO_PDB_FROM_MEMORY and NTOSEYE_GDB_ON_HVF are off when empty or 0, and on for any other value: NTOSEYE_NO_PDB_FROM_MEMORY=0 turned the rebuild from memory off, and NTOSEYE_GDB_ON_HVF was on only at 1.

  • ProcessDetail.vad_count gives the number of VADs, Peb.api_set_map and ProcessParameters.environment_size are None on a build without the field, and !chkimg’s SelfPatchKind and ImageSelfPatchCounts have the import address table, service table and processor patch site kinds.

  • SystemPteTypeDetail.used is None where SystemPteTypeDetail.counters_hold is false, and SystemPtesDetail.uncounted names the allocators its totals leave out.

  • LfhSubsegment.block_count counts the blocks a subsegment withholds, and LfhSubsegment.bit_stride gives its bitmap’s bits per block; LfhSubsegment.bucket is None for a subsegment that names no bucket, and VtopDetail.physical_walk says whether its entry addresses are physical (an explicit DTB) or in the self-map.

  • bp, ba and bm with /p <pid> evaluate the address or pattern in that process, as after .process /p and without changing the current process context, so ba e1 /p <pid> kernelbase!GetFileAttributesExW+0x60 works from a break-in in the System process or the hypervisor; the SDK’s breakpoints.add(hardware=True, process=...) and breakpoints.watch(..., process=...) do the same.

  • .process takes a process’s image name, as !process does (.process /p /r explorer.exe), besides its EPROCESS address and PID; a name several processes share is refused with a hint to give the PID.

  • At a stop in the Windows hypervisor whose context is the hypervisor’s own (after .cxr, or on its VM-exit entry, whose saved VTL0 state may be one exit behind), a d* listing or dx that cannot read an NT address, and a command that fails on one, add a note that the hypervisor’s address space does not map it and that .vtlcxr selects where VTL0 left off.

  • Over KD on ARM64, a processor’s KPCR is read once a boot instead of at every register read, which makes ~ and a debug adapter’s thread list about a third faster.

  • Over KD, a stop no longer reads the kernel’s whole module list again, since the target reports every module load and unload, and a processor’s process is named without walking the process list and reading each long process name from its process’s memory. A REPL stop over a serial link with memory read through KD took 9 to 15 s, and takes 1 to 2.5 s.

  • A stop’s stack says ... more frames under the six frames it shows, without counting them: a stop walked 64 frames to count the ones it leaves out, each a few memory reads, and loaded the symbols of every module they ran in. Over serial KD reading memory through KD, a stop at nt!NtClose took 1.7 to 11 s, once 81 s on a deep stack, where it takes 1.3 to 6.7 s. k and the other stack listings still count what they leave out.

Fixed

  • On ARM64, a stack through .NET code unwinds to the thread’s start: a caller whose unwind data is not there to read, JIT-compiled code or an NGEN image’s paged-out .pdata, is found by the frame record its x29 points at, where the frames below the first JIT frame were found by scanning the stack.

  • On a live kernel target, an address outside every module is taken as a return into code only when a call precedes it, where any address in an executable page was, so a stale pointer into JIT-compiled code no longer passes for a frame.

  • On Windows 8.1, images loaded in only some sessions, cdd.dll and TSDDD.dll, get their symbols: ntoseye reads a session image through a process of each session in turn, and finds the PDB of one whose header is out of memory, and whose loader entry has no timestamp to fetch the file by, from the CodeView record in its resident pages.

  • On Windows 7, the stack of a WOW64 thread in a system call shows its 32-bit frames, which stopped at wow64cpu, and !heap shows the sizes of a WOW64 process’s heaps.

  • lm v and vertarget give the PDB age the image names its PDB by, as symbol stores file it, where they gave the age the PDB file itself records, which can be higher.

  • dt shows a byte array that holds no text (a GUID’s Data4) as hex bytes, where it printed escapes such as \u{fffd}, and shows non-ASCII text in strings as written instead of escaped.

  • On Windows 11 26200, !heap lists every heap of the process, where it listed only the process heap: the PEB holds only that one there, and ntoseye now reads ntdll’s own heap list.

  • !heap -x gave an NT-heap block’s user size 0x10 bytes short.

  • !heap decodes segment-heap LFH subsegments: on Windows 11 22631 every one failed with field 'BucketRef' not found and its busy counts were wrong, and on 22631 and 26200 blocks of a subsegment above 4 GiB were placed at the wrong offset, so !heap -x could not find them.

  • !address and !address -summary count every segment and large block of a heap as Heap, not only its first region.

  • Inlined calls into code from another object file of the module show the function’s name, combase!WaitCoalesced [inline], where k showed combase!inlinee_0x81300001, and dv shows such locals’ types, where it showed type(0x81300003).

  • dv shows an HRESULT local’s type, where it showed __unknown_t.

  • ln no longer says “no symbols loaded for this module” for an address in a module whose symbols are loaded but name nothing there.

  • x does what its help says: several terms must all match (x ntdll!Rtl !Heap UserThr), !term excludes, ^ and $ anchor a term, and a module pattern searches every module it matches (x kernel*!RaiseException). It took only the first term, read !term as a module, and matched ^Rtl and module patterns to nothing.

  • .frame N selects the frame k numbers N: it read N in hex, so .frame 10 selected frame 16.

  • k after .frame N lists the same stack with frame N marked, where on a user-mode dump it walked again from that frame and made up inline frames and source lines.

  • .frame, .ecxr, .cxr and !for_each_frame show a frame with no symbol as module+offset, as k does, not as a bare address.

  • ~*k keeps the context .ecxr or .frame selected, and ~ takes k’s variants and arguments (~*kv, ~0k 3).

  • .fnent and uf decode JIT-compiled code from a dump’s dynamic function tables, as the stack walk does, where they said the address was in no module.

  • !poolfind finds every allocated block on segment-heap pool pages, where it missed about one in eight (20 of 155 processes for !poolfind Proc).

  • !pool on a segment-heap page no longer lists the page’s own header as a free first block, and sizes free gaps to the next block, not 0x10 short of it.

  • !zombies also scans big-pool allocations, so it no longer leaves out processes such as System from its live count.

  • !thread and !process <process> 7 show each thread’s Win32Thread, where they showed - for every thread.

  • !vad names the file of every file-backed mapped view and image, as !ca does, where its File column was empty for all but the loader’s modules, and decodes the no-access, no-cache, guard and write-combine protections, where it showed prot:24.

  • !process 0 0 and !session show System, Registry, smss and Secure System in no session, where they counted them in session 0.

  • !vtop <dtb> <address> marks the table entries its walk read as physical addresses; !pfn no longer repeats a field’s name as the reason it is unavailable; !devstack keeps its columns lined up with long driver names; and !acl <address> 1 names well-known SIDs, as !sd <address> 1 does.

  • r on a kernel dump shows cr0, cr2, cr4, cr8, gdtr, idtr, tr and ldtr as each processor’s PRCB saved them, where it showed zeros, and a register the dump does not hold, such as efer, as unavailable.

  • Kernel dumps written with .dump hold the guest’s code where ntoseye had planted breakpoints, such as its int3 at nt!KeBugCheckEx, and record the product type; minidumps written with .dump /u record the processor’s family, model and stepping instead of 0.

  • !chkimg sets aside the import-call and retpoline patches the kernel applies to every driver at load, where !chkimg ntfs counted 2476 genuine mismatches, and !chkimg -d lists genuine differences before the set-aside patches.

  • dx and dt on a symbol with no type, such as nt!KeNumberProcessors, say so and show the cast that reads it, where dx printed the symbol’s address as a negative number.

  • On a minidump that holds no ntdll data, !cs reports that the critical-section list cannot be read, where it listed none, and !chkimg says the code is not in the dump and nothing was compared, where it said the section was paged out and found 0 mismatches.

  • On a dump, status no longer suggests an execute breakpoint or t for a page that is not in memory, and dt lists a flags word before the bitfields it holds.

  • On a minidump that holds no module memory (MiniDumpNormal), u, uf, db, !dh and !lmi read a module’s code and headers from its image file, relocated to where it was loaded, as the Windows debugger does, where they said the address was not in the dump; !chkimg still compares only what the dump holds.

  • Kernel dumps written with .dump hold every processor’s registers as NT sees them, where a processor stopped in the Windows hypervisor had the hypervisor’s registers and the others had whatever their PRCB last held, and list the processors the kernel runs, not every vCPU of the VM.

  • Pages a process maps through a prototype PTE read when Windows’ L1TF mitigation swizzles the PTE, where they read as ?? and their image’s unwind data as paged out, so stacks through them fell back to scanning.

  • !pte shows a zero PTE inside a mapped view as the view’s page, not as unmapped, goes on to the PTE when its page table is in transition, and refuses an address that is not canonical.

  • !poolfind and !pool take a block’s state on a segment-heap LFH pool page from its subsegment’s bitmap, where they called freed blocks Allocated (775 for 560 mutants), no longer read the subsegment’s header as a block hiding the first real one, and show paged-pool blocks as PagedPool.

  • ARM64 stacks of processors stopped in an interrupt unwind through nt!KxSwitchStackAndPlayInterrupt to the interrupted thread, where they fell back to scanning.

  • The stack scan lists only addresses a call instruction precedes, where any code address on the stack passed.

  • u shows a negative ARM64 pre-index offset as #-0x40, where it showed a 64-bit value.

  • !process, ps and !vm count a process’s handles across every free list of its handle table, where they read only the first and showed counts such as 4294967070.

  • !pcr decodes IDTR and GDTR for every processor from its PRCB, where it refused all but the halting one.

  • !chkimg skips a kernel image section Windows freed after boot and gave to other owners, such as INITKDBG on ARM64, where it counted the section as mismatches.

  • ln and symbolized addresses stop at the end of a symbol’s section and of a private function, showing module+offset past them, where they named a function far beyond its end.

  • A register in an expression with a thread selected that runs on no processor says why it is unavailable, where it said the VM was running.

  • !sysptes and !vm no longer report system-PTE totals from counters their allocator’s bitmap contradicts: on Windows 11 22631 ARM64 the kernel keeps SystemPtes’ free count below zero and its total at three times what its bitmap covers, and the driver-image allocator’s free count far above its total. Such an allocator’s total and use show as unknown, with the reason, and are left out of the summary.

  • On ARM64 over KD, r on a processor other than the one that stopped the target shows that processor’s own x18 (its KPCR, or its thread’s TEB) and ttbr0 (its thread’s process), where it showed the stopping processor’s, and ~ labelled every processor with the stopping one’s process; esr and far are read at every stop, not only after a step.

  • A KD attach made right after another debugger session ended no longer fails with “invalid virtual-memory read … received 1024 bytes … for request 512”: a read of memory, a system register or control space takes only the reply to its own request, and passes over the target’s stale reply to the last session’s.

  • !chkimg sets aside what Windows changes in its kernel at boot: the import address table the loader fills, nt!KiServiceTable, which the kernel packs into offsets, and the *_Patch* sites it rewrites for the processor, so Windows 7, 8.1, Vista and XP x64 report 0 genuine mismatches, where they reported 1,400 to 2,100.

  • !pfn reads every _MMPFN field where the build’s PDB puts it, so XP x64’s page location, cache attribute and color decode correctly, where they decoded with a newer layout.

  • !vm on Windows 8.1 and older reads the system-PTE counts the build keeps (XP x64 showed 868605598094041 free PTEs), lists each paging file’s size and use, and leaves out the counters a build lacks instead of listing them as not found.

  • !process <process> 7 shows VadRoot’s root VAD and the number of VADs on Windows 7, Vista and XP x64, and quota usage on Vista and XP x64, where they showed -; !peb leaves out fields the build lacks instead of listing them as unavailable.

  • !heap -x gives a free block’s user size without its header, and !vad names large-page section, physical and rotate views, where it showed vad:7.

  • !pool and !poolval on Windows XP x64 take a 16-byte free fragment whose PreviousSize chains it to the block before as a block, though its tag holds stale bytes, and list a block whose pool type is 0 as free; !poolval called a third of nonpaged pages invalid.

  • A deeply nested or very long expression in ?, dx, dt, MCP command or DAP evaluate fails with “expression nested too deeply” past 128 levels, where a few hundred levels overflowed the stack and aborted the debugger, leaving a live target’s breakpoints planted.

  • MCP: output with limit: 0 is refused, where it panicked and left the session unusable until a restart; a panic while handling a request now fails only that request. The rest of an over-long single line can be read with output, in pieces cut at characters.

  • DAP: disassemble decodes up to unreadable memory, where it failed for the whole request, and no longer returns rows shifted from the instruction offsets asked for. A kernel crash dump refuses next and stepOut up front and withdraws writes and breakpoints, as a user-mode minidump does; exception filters on a dump stay unverified and leave the sx settings alone; a dump argument that is not a string is rejected.

  • GDB server: a user-mode minidump publishes its modules as libraries and in the memory map with its main image as the program, where it named ntoskrnl.exe and listed none; its target description no longer lists control registers the dump does not hold; and an access violation stops with SIGSEGV on the faulting thread, not SIGTRAP.

  • A kernel-dump processor with no captured context has its registers unavailable in r, ~, the GDB server and DAP, where they read as zeros.

  • A breakpoint set over KD at a module-load stop hits, where lifting the load trap on resume deleted it (the stop had freed the trap’s KD handle and the new breakpoint took it), and gu there returns; the load and bugcheck traps a stop takes out are planted again, so later sxe ld: stops still fire.

  • .process without /i lasts until the target runs, as in WinDbg, where it outlived g and read through the page tables of a process that had since exited; a kept context whose process exits ends with a warning. After .process 0, $teb, $thread, $proc and $peb resolve without .thread, and the MCP trailer names the stopped thread’s process, not System, on an idle processor.

  • pc, tc, ph, th, pt, tt, pa and ta execute the current instruction before looking for a match, so repeating one moves on, where it stayed put; the SDK’s step(until=) and step_over(until=) likewise.

  • .lastevent reports a single step; breakpoint conditions can name $tid, $thread and $proc; sxe -c "<commands>" works without -f and the event breaks; threads 0n<pid> matches as threads <pid> does; and x finds a DLL’s symbols at its load stop.

  • A full KD breakpoint table gives one message that says when this session’s own breakpoints fill it, where bm printed one per symbol blaming a previous session.

  • !poolfind leaves out blocks whose tag does not read as one, where a wildcard search listed data the scan took for headers as Allocated? blocks tagged .... (47 on a Windows 11 dump).

  • A module image the symbol server does not have is fetched once per session, where every new GDB server client queued it again and its next monitor reply carried dozens of fetch-failure lines; .reload or a symbol path change retries it.

  • A memory write (e*, f, m, .readmem, DAP writeMemory and setVariable, GDB server M, SDK writes) over one of the session’s breakpoints changes the code under it and keeps the breakpoint planted, where it replaced the int3; over KD that left a breakpoint table entry Windows could not release.

  • Over KD, attach reports only the stranded breakpoint table entries it released and warns about one Windows keeps, where it claimed to release it on every attach; a breakpoint set at a kept entry’s address stops, where it was reported set but never hit.

  • A breakpoint or step site in user code whose process has exited is removed through its physical page when the page is still the one it was planted in (a DLL’s shared code page other processes run), and dropped when the page was reused, where removal failed and detach left the guest halted.

  • DAP: next, stepIn and stepOut are answered at once with a continued event, so the editor shows the thread running, other requests are answered and Pause ends a long step; a step whose thread exits ends with a step stop that says so.

  • GDB server: when a client leaves and one of its breakpoints cannot be removed, the guest stays halted and the failure is reported, as with q and a DAP disconnect, where it resumed the guest.

  • On ARM64 over KD, ba stops: its controls asked for matching that a processor without EL2 never does, the breakpoint exception Windows raises for a hardware hit was resumed as a stale breakpoint, and the slots offered were the eight the CONTEXT holds rather than the processor’s own (six execute slots on a typical guest).

  • On ARM64, p, gu, pa, pc, pt and wt over a call to __security_push_cookie, which nearly every function with a stack cookie makes in its prologue, end where they should, where they ran on until interrupted, and wt no longer nests the caller’s later calls under it.

  • On the gdb backend, a deferred bu /p is refused with the user-space reason that suggests ba e1, where it said the backend could not plant breakpoints at all.

  • On the gdb backend, ba e in a WOW64 process’s 32-bit code is refused: when such a breakpoint fired while the other vCPUs ran, QEMU paused the VM with an internal error and the guest had to be reset.

  • A KD request that times out while the session checks the kernel image (as during a Ctrl+C into a flood of breakpoint hits) no longer reads as a guest reboot, which rebuilt the session, forgot the step’s breakpoint still planted in guest memory, and left the guest halted at exit.

  • On the gdb backend, p over a call, gu and the other runs to an address in user code take a free hardware breakpoint slot for the run, where they ended with an error.

  • r shows pseudo-registers (r $proc, r $peb, rip), as WinDbg does, where only $t0-$t19 worked and the rest were “not found”.

  • GDB server: a reply that takes longer than gdb’s remotetimeout (a monitor command loading symbols) no longer drops the client: gdb’s - for the late reply is ignored, as the protocol requires in no-acknowledgment mode, where gdbstub ended the session.

  • A run to an address handed back running (MCP gu or p over a call past timeout_ms, a DAP step) takes its temporary breakpoint out at the stop a later call collects, where it stayed in bl as a breakpoint on the thread and stopped it at that return again on every later g.

  • Expressions (by, poi, …) and breakpoint conditions read the code under the session’s own breakpoints and traps, as db shows it, on every host, where they read the int3: eb nt!NtClose by(nt!NtClose) with a breakpoint there wrote cc back as the original code, and bc then left it in the guest for good.

  • Typed reads (dt, dx, DAP variables, and the extensions that read kernel structures) show the code a planted breakpoint or trap displaced, as db and expressions do, where a struct or array over a breakpoint showed its int3.

  • vertarget on a target broken into early in boot shows its Windows version as unknown, where it showed Windows 0.0 before the kernel had filled the version in.

  • Over KD, a stop the transport absorbs on its own (a breakpoint reported again after it was retired) no longer leaves the breakpoint entries that stop freed recorded as the session’s, where a later bc could delete an entry that had reused the handle.

  • With !gflag +ksl, Windows’ own report of a user-mode DLL load stops at an sxe ld: filter and resolves deferred bu /p breakpoints while the user-image trap is planted, where it was dropped for the trap to report: on ARM64, where the trap never sees a DLL loaded after its process starts, those loads were lost.

  • da and du on a user-mode minidump show a string whose end the dump holds when it stops capturing later in the page, a mapped view’s pages no longer stay unreadable for a whole session when first read before their process was listed, and a compressed page that fails to decode reports why, not a bad address.

  • ARM64 stacks unwind through functions with a 512-byte local frame in packed unwind data, where the unwinder restored x19 and x20 instead.

  • Over KD, a file the debugger cannot read for .kdfiles fails the guest’s read, where the guest got a truncated file; a stop the debugger could not step past is shown as a stop, where the target looked running for good; and a transport error while reclaiming a previous session’s breakpoint slots is reported as itself, not as a full breakpoint table.

  • Over KDNET, a failed send no longer fails the next request too, and a datagram that does not decrypt is dropped instead of failing the request.

  • When ntoseye reads guest memory from the VM process (the memory backend, or KD with --memory-source host), a physical read or write that crosses the 32-bit MMIO hole fails, where it went on into guest RAM above 4 GiB.

  • !hvbp and the SDK’s add_hypercall take the hv! prefix in any case.

  • Images are downloaded from the symbol servers .sympath set, not only the default ones, a symbol download that finishes after its module unloaded no longer registers the module again, and a breakpoint journal that cannot be read is kept, where it was deleted with the record of breakpoints left in the guest.

  • !heap -s and !heap <heap> give a WOW64 heap’s free space in its own granule, where they doubled it; !heap -x counts a heap it could not identify as failed, not searched; a heap list that ends early makes the heap unavailable, where its segments and blocks went missing; and a corrupt LFH header no longer makes !heap allocate hundreds of megabytes.

  • !cs shows 0 waiters for a held critical section with none, where it showed 4294967295, and !chkimg no longer skips a section because one changed page was freed.

  • !poolused falls back to the big-page table when the pool tracker tables cannot be read, and power-failure analysis walks the kernel’s IRP or worker list when the triage block leaves one out.

  • !vprot reads an address in a 1 GiB page, !devstack and virtio’s driver lookup take no PDO from a device stack whose links loop, !wdfdevice lists the queues it read before an unreadable one, and !virtio stops at a request it cannot read whole, where it decoded the bytes after the gap.

  • $peb on a user-mode minidump reads the PEB pointer by the PDB’s _TEB layout and works before a thread is selected, and a minidump module with a zero timestamp is fetched by its image’s timestamp.

  • !cpuinfo on a triage dump gives the CPU family (6, not 0x106) and only for the processor the dump holds.

  • A truncated triage dump is reported as such, where its integrity check passed.

  • On the gdb backend, a breakpoint set or cleared from DAP or the GDB server while the target runs leaves it running, where the edit’s own break-in was kept as a stop and the target stayed halted.

  • On the gdb backend, g from a bugcheck lets Windows write its dump and restart, where it hit ntoseye’s trap at nt!KeBugCheckEx again.

  • The SDK’s Debugger.reload() on a target that did not reboot removes the breakpoints it planted before reloading, where address breakpoints were forgotten with their int3 left in the guest and symbolic ones saved their own int3 as the code they replaced.

  • Breakpoint actions and exception commands read numbers in the radix n set, as the prompt does, and no longer reload the saved aliases at every hit.

  • A command list stops after a command that is missing an argument, so bc; g no longer resumes the target, and MCP reports that command as failed; MCP’s status line says the target is running when a stop’s breakpoint action resumed it.

  • Quitting the REPL when the target cannot be halted leaves the breakpoints alone and says so, where it removed them from the running target and resumed it.

  • The prompt no longer crashes while you type an argument that starts with a non-ASCII character, and s and f refuse a byte pattern with a non-ASCII character after \x instead of crashing.

  • ntoseye configure for libvirt recognises vmcoreinfo as libvirt writes it (state='on'), where every change it applied ended in “libvirt did not retain vmcoreinfo”, and turns on a vmcoreinfo element that is off.

  • u with an end address refuses a range over 1 MiB, where a mistyped one could exhaust memory, and shows every readable page up to the first unreadable one, where it stopped after the first page.

  • .writemem refuses a running target and keeps the captured part of a partly captured page, where it wrote zeros, and .dump /u writes the code under planted user-mode breakpoints, not the breakpoints; the SDK’s physical search stops at 4096 matches and skips unreadable pages.

  • !idt lists only the vectors the IDT’s limit covers, ~* selects every processor past the first 256, and !pci names the buses it scanned when no function responds.

  • dx shows a signed bitfield’s negative values, accepts an escaped quote in a string before the format, and .First, .Any and .All stop at the element that decides, so a later element that fails no longer fails the query; adding a display evaluates only it, and an unreadable scalar shows its error.

  • !locks shows a resource whose count cannot be read as unknown, where it counted it as held.

  • !thread on a running target says the stack of a thread on a processor is unavailable, where it showed the stale stack it was switched in from; lm a after .vtl 1 finds the secure kernel’s modules; !apc <name> refuses a name several processes share, where it took the first.

  • ssdt marks an entry that points into a driver whose name contains nt, or into no module, as hooked.

  • dl says when it stopped at its 4096-entry limit, !acl describes a null SACL as auditing nothing, !chkimg -nospec no longer calls its total genuine, .kdfiles refuses extra words and shows its statistics with an empty map, and !hvvmcs refuses a VTL over 255.

  • .formats converts FILETIMEs after the year 2440, where it said they were out of range.

  • Breakpoints set with the GDB server’s monitor or from the DAP debug console are no longer taken for, or removed as, a client’s breakpoint that had the same number before, and a Python when= callback no longer runs for a later breakpoint that reuses its breakpoint’s number.

  • When the GDB server or DAP cannot remove a client’s breakpoint, it keeps track of it, and DAP says so, where the breakpoint went on firing unowned; a hit on the second address of a DAP source breakpoint reports the client’s breakpoint.

  • breakpoints.add_pattern keeps its when= callback on the breakpoints it set when others failed, module["name"] in a process loads the process’s symbols as process.symbols["module!name"] does, and Symbols.source_location and Symbols.locals_at take a symbol name in a process whose symbols are not loaded yet.

  • Tab completion works in the second and later commands of a ; list, stops offering an unloaded module’s symbols, and the command palette lists processes while the target runs, as Tab does; nt! and Tab lists nt’s symbols, where modules sorting before it could fill the list.

  • A corrupt heap no longer makes !heap allocate the size of a whole segment or panic on its unit size; !heap -s and !heap -x report a broken process heap list, where they quietly searched part of it; and !heap says when a segment heap’s large-block walk stopped at its limit.

  • !verifier no longer lists every configured driver as not loaded when the verified-driver list cannot be read whole, and stops at a corrupt table count.

  • !alpc /lpp counts the ports it could not decode, !filecache says when its totals are partial, !ca shows a subsection’s unused PTEs and file name as unavailable when they do not read, and an interrupt vector whose object cannot be read is reported as unavailable, not as unconnected.

  • !gdt decodes a long-mode call gate as the two-slot descriptor it is.

  • !wdflogdump and !rcdrlogdump no longer stop and call a log corrupt when writers racing each other left its records’ sequence numbers out of order.

  • Memory-manager commands no longer read the visible state at a wrong address when the kernel’s pointer to it cannot be read, and !pool and !poolval no longer take a big-pool allocation for classic pool when the big-pool table could not be read.

  • Corrupt guest data no longer makes ntoseye allocate gigabytes for a hypervisor image, or overflow on virtio descriptors and MDL frame numbers; virtio views show a returned buffer’s length and a queue’s interrupt signal as unknown when they did not read, where they showed 0 or off.

  • !lookaside says when a walk stopped at its limit or on a bad link, the registry shows a hive whose root path cannot be read as unavailable, not unmounted, and the shadow service table is skipped when its descriptor’s layout is missing, where fixed offsets were assumed.

  • On a triage dump, the process list is refused when its layout names no process ID, where every process showed PID 0.

  • Commands that answer a missing argument with their help, such as undisplay, .if, j and $<, count as failed, so a ; list stops there and MCP reports the failure; .break or .continue with an argument ends its loop.

  • A command refused inside .while, .for or .do ends the loop, where the loop repeated the refusal until Ctrl+C.

  • ~N and vcpu N read the processor number in decimal, as ~ lists it, where they used the current radix and ~10s selected processor 16; vcpu works on the memory backend, as ~Ns does.

  • f refuses a range over 16 MiB, and bc, bd and be take any ID range without expanding it, where a wide one hung the REPL.

  • .printf %mu and dx read a string that ends before an unmapped page or a dump’s capture hole, and dx marks a string it cut short with ...; an unnamed object’s ObjectName is empty, so the documented Where(o => o.Name != "") handle query works.

  • A breakpoint target with a space after a comma in a template argument list, bp nt!X<A, B>::f, is one target.

  • !pci reads its arguments in hex, as its help says, and needs a halted target; .hh <name> finds aliases and Python commands; ds and dS refuse a descriptor that runs past the top of the address space; !analyze -hang says how many processors it left out; and !cpuinfo on a triage dump shows the dump’s metadata when any field is missing.

  • !hvu, u and ub take an L?<count> range, .dump on a user-mode minidump gives the usual kernel-target refusal, .process /i and attach on a running target no longer claim that no processor runs the process, and !dbgprint’s count follows the radix.

  • The StorPort adapter and class-device overviews say when a unit or packet walk stopped early, !rcdrkd.rcdrloglist and !rcdrkd.rcdrlogdump take the context address as any expression, lm reports a malformed m, u or k option, and !drvobj takes \Driver\ in any case.

  • Python help() shows SDK docstrings as written, \Driver\ACPI, where command docstrings showed each backslash doubled.

  • On ARM64 over KD, a step or a step walk that a breakpoint hit on another processor came before goes on once that hit is passed over (a Python when= callback that declines it), where it failed with “only that processor can step”; a step that the processor finished in another thread it switched to meanwhile ends there, with the diverted notice. A step walk (step(until=), step_over(until=), wt) goes on in the thread it started in instead, as on x86, unless the instruction continues through an exception (svc, brk, eret).

  • A stop no longer walks the whole process list to name the process whose page tables it stopped on: the stopped thread’s own process answers, a root an earlier stop found keeps its process while that process stays on the list, and a root no stop has found yet is looked for along the list only as far as its process, which alone is named. Over KD every stop walked it, with a read of every process’s PEB for a long name, which made a breakpoint hit a Python when= callback declines take about 2 s on an ARM64 KDNET target, where it takes about 0.11 s now: a stop also reads its thread’s fields at once and remembers each processor’s KPRCB for the boot. A session’s first break-in over serial KD with memory read through KD took 4 s, and takes 0.6 s.

  • !irpfind’s usage shows that a criteria comes with its data, [criteria data], where it showed the data as optional on its own.

  • Over KD, a lost packet no longer leaves the session stuck. When the target’s ACK of a request was lost, ntoseye sent the request again, which the target ignored, and every request after it reused its packet id, so the session stopped answering for good (or ran the target again, for a continue). When our ACK of the target’s stop was lost, the request sent next was dropped and failed after 5 s, which could leave a breakpoint install pending. ntoseye now takes a reply (or, for a continue, the next stop) as proof its request arrived, sends a request again when its reply does not come, and a continue again when the target repeats the stop it ran from. Over KDNET, which answers within milliseconds, a missing ACK or reply is waited for 1 s rather than 5 s before the packet goes again. With 2% of KDNET datagrams dropped, a REPL session now goes on stop after stop at 12 to 24 s each, where it stalled within a few.

  • Over KD, a bugcheck that a processor raises while the target is halted, in the debugger itself, is the stop that comes next, as a bugcheck. ntoseye took the bugcheck’s state change for the old stop announced again and dropped it, showed the old stop with the bugcheck’s registers, and resumed the crashed target into a reboot. An ARM64 target did this now and then under a breakpoint in nt!KiSwapContext that a Python when= callback declines (bugcheck 0x2B, PANIC_STACK_SWITCH).

  • Over KD, a breakpoint is no longer lost when the KD connection resets while a step waits for its stop, as it can while the guest reboots: deleting it failed with “no breakpoint tracked”, and its entry stayed in the target’s breakpoint table until the next session released it. The KD backend forgot its breakpoints when it saw the reset, but a step’s stop never reached the session’s reload that sets them again; it now forgets them only when the session reloads.

  • Over KD, ntoseye refuses a code breakpoint in the kernel debugger’s own code (nt!KdTrap, nt!KdEnterDebugger, nt!KdExitDebugger, nt!Kdp*, and the KD transport), which Windows runs on every entry to the debugger and exit from it, in nt!KeQueryPerformanceCounter, which the debugger calls while the target is halted, and on ARM64 in the exception handler and dispatch every brk and step goes through (nt!KzSynchronousException, nt!KiSynchronousException, nt!KxDispatchExceptionOnExceptionStack, nt!KiDispatchException), as it already did in x64’s trap dispatch. A breakpoint there trapped again from within until the target went down: nt!KdpReport bugchecked an x64 target with 0x7F at once, and on ARM64 a gu from a step that stopped in an interrupt taken while the processor left the debugger planted one at nt!KdExitDebugger, which bugchecked the target with 0x2B within seconds, a p over a call in nt!KiSynchronousException planted one there, which hung the target at its first hit, and one from that interrupt planted one in nt!KeQueryPerformanceCounter, which hung the halted target as it was written. NTOSEYE_NO_BREAKPOINT_BLOCKLIST=1 turns these refusals off, with those for KVASCODE and x64’s trap dispatch.

  • ntoseye mcp and ntoseye dap started with --memory-source but no target apply it to the KD or KDNET target the client opens later (MCP open, or a DAP request without memorySource), where it was ignored and auto used.

v0.52.0 (2026-10-25)

Support for 64-bit Windows 7, 8.1, Vista and XP (platform support), reads of memory Windows compressed into its memory-compression store (on x64 and ARM64), scripted runs with -c and --batch, UI improvements and many bug fixes. Stops and u now show where the code goes: the instructions around the stop in its function, jump and call targets by name, the jumps between them drawn as arrows, and whether the next one is taken; a bugcheck stop shows the registers the faulting instruction ran with, and its stack starts at the frame that faulted.

Added

  • On ARM64 Windows, reads of process memory in the memory-compression store decompress the page, as on x64: ntoseye reads the store’s layout from the ARM64 kernel’s code. A page and its page table both in the store read right on Windows 11 22631 over KDNET, where they read as ?? before. tools/fetch_ntoskrnl.py --arch arm64 fetches ARM64 kernels for the layout test.

  • !devobj and !devstack take a device by name, \Device\Null or Null, as WinDbg’s !devobj does, and !drvobj takes WinDbg’s flags: 1 shows the device objects, 2 the dispatch routines.

  • On an ARM64 target, rdmsr and wrmsr take a system register by name (MIDR_EL1, TTBR1_EL1, CNTVCT_EL0), as S3_0_C0_C0_0, or by the number KD reads it by, and name the registers they know. rdmsr TSC there sent x86’s MSR number.

  • -c '<commands>' runs commands at startup, each line as typed at the prompt, as cdb -c does; give it more than once for several lines. --batch quits after them instead of prompting, prints only the commands’ output, leaves a live target as q does, and exits with status 1 if a command reported an error. See Commands from the command line.

  • --kd-handshake-timeout <seconds> sets how long the kd and kdnet backends wait for the target’s first answer, as NTOSEYE_KD_TIMEOUT does, and wins over it; the default is still 8 seconds. MCP’s open takes it as kd_handshake_timeout, DAP’s attach arguments as kdHandshakeTimeout, and the SDK as ntoseye.attach(kd_handshake_timeout=...).

  • The gdb backend sets as many hardware breakpoints (ba) as the GDB stub accepts, no longer four, so QEMU running with TCG, which emulates them, takes any number. Under KVM the processor still has four debug registers, and a fifth ba says the stub refused it.

  • A module whose PDB no symbol source has — a vendor driver never published — falls back to the export table of its image in the dump, as the Windows debugger does, so k, ln and !analyze name its functions (myfault!nmf_fault_irql+0x35) where they showed module+offset, and a deferred breakpoint on an export binds. So does a module whose image names no PDB at all (no CodeView record), once fetching the image does not name one either. A PDB acquired later (a source added, the process attached again) replaces the export symbols.

  • The prompt suggests as you type: the rest of the most recent earlier line that starts with what you’ve typed appears dimmed after the cursor (b suggests bp nt!NtClose), as fish does. →, End or Ctrl+E accepts it, Ctrl+→ a word at a time; Enter runs only what you typed. Tern’s prompt already did this. With NO_COLOR set, nothing is suggested, since only its dimming sets a suggestion apart from what you typed.

  • The prompt marks where each command and its output start and end (OSC 133), as a shell does for its terminal, so a terminal that reads the marks can jump between commands, select one’s output, or flag one that reported an error.

  • When the target ran for 10 seconds or more before it stopped, the terminal shows a desktop notification of the stop (ntoseye: breakpoint #0 hit at nt!NtClose on processor 2): kitty only while its window is out of view, terminals that read OSC 9 (Ghostty, iTerm2) each time. A stop you cause with Ctrl+C or break sends none.

  • The window title names the prompt’s processor and backend, and where the target stopped or that it runs (ntoseye - 3: kd - nt!NtClose+0x5), and is given back on exit.

  • A stop at an int3 that Windows executes on purpose says why it broke in. The first is a resource timeout: when a thread waits for an executive resource (ERESOURCE) longer than the timeout, Windows breaks in at nt!ExpWaitForResource, and the stop now says so and points to !locks.

  • !runaway [flags] shows how much processor time each thread of the current process has used, most first, as WinDbg’s does: user-mode time (1, the default), kernel-mode time (2), and time since the thread started (4). It works on a kernel target, from each thread’s tick counts, and on a user-mode minidump, from its thread-info stream. The SDK has it as Process.thread_times() and UserProcess.thread_times().

  • !cs [-l] [address] lists the critical sections of the current process, as ntdll keeps them on RtlCriticalSectionList, or shows one: whether a thread holds it, the owner’s TID, its recursion count, how many threads wait for it, and how often threads have waited. -l lists only the held ones. It works on a kernel target and on a user-mode minidump; the SDK has Process.critical_sections() and critical_section(address), and the same on UserProcess.

  • sxe ld:<module> and sxn ld apply to the user-mode DLLs and executables that processes map, and a deferred bu /p <pid> <module>!<symbol> is armed in that process as the module is mapped, before its entry point runs. A trap at nt!PsCallImageNotifyRoutines, in place only while such a filter or breakpoint waits, sees every mapping in every process, on KD, KDNET, and the gdb backend; no global flag is needed. The module’s symbols load from the image, and a breakpoint in a page the process has not touched yet goes to the target’s breakpoint table, which writes it when the page arrives.

  • .dump /u <file> writes a user-mode minidump of the current process, from a live target or a kernel dump: its threads with the user-mode registers their stacks give, their names and priorities; its modules with their CodeView records and versions; the modules it unloaded; its handles, named; its regions as VirtualQuery reports them; every committed page of its memory that is in physical memory or was never touched; the build string and time-zone bias; and, when the target stopped at an exception that one of its threads raised in user mode, that exception, so .ecxr and !analyze work on the minidump. ntoseye --dump and other minidump readers open it, and the SDK has it as Process.write_minidump(path).

  • Reads of process memory that Windows compressed into its memory-compression store (Windows’ default on client editions) decompress the page from the store, where they failed, also when the process’s page table is itself in the store: on the memory backend, on kd/kdnet with either memory source, and in complete and active memory dumps, .dump and virsh dump dumps, for x64 and ARM64 Windows 10 1703 and later whose PDB types the partition’s store fields. ntoseye reads the store’s layout from the kernel’s code on first use, from the kernel file in the symbol cache when it is there, since the PDB does not describe it and it moves between releases (and within 24H2’s servicing). A store that Windows creates after ntoseye attached, as turning compression on with Enable-MMAgent does, is found once the target has run. .dump /u captures these pages too, in regions of any size. See Compressed memory.

  • !pte says where a page that is not in memory is: never mapped, demand-zero, in a paging file at a page, or in the memory-compression store (and whether it decompresses, or why not), and the SDK’s Memory.pte() has it as PteWalk.non_resident; a command whose read failed, such as ? or dx, adds the same as a note, and .pagein says it when the page stays unreadable.

Changed

  • Breaking: A processor is named by its number, counted from 0 as Windows counts them, the same on every backend: the prompt reads 3: kd>, as WinDbg’s does, a stop names processor 3, and ~ lists the processors by number. They were the backends’ thread IDs, p1.4 over kd and p01.04 over gdb, counted from 1 in hex. In a guest partition’s view, a VP is that guest’s processor, under the prompt 1: partition 0x3>, and a user-mode dump’s prompt names the thread by its number in ~’s list (17: minidump>), as WinDbg’s 0:017> does. ~ and vcpu take only the number (~3s); ~p01.04s is gone. MCP’s trailer and the thread names of DAP and gdbserver clients name processors the same way.

  • On an ARM64 target, rip and rsp no longer name pc and sp: r, expressions and breakpoint conditions take the ARM64 names (@pc, @sp, or $ip and $csp on any architecture), as WinDbg does. fp, lr and pstate still name x29, x30 and cpsr.

  • On an ARM64 target, !vtop with a directory base lists each page-table entry the translation reads, with its flags, as it does on AMD64. It showed only the physical address.

  • On an ARM64 target, ba e refuses an address that is not 4-byte aligned when you set it, on every backend, as such a breakpoint never fires. Only the kd backend refused it, and only once it programmed the processors.

  • A stop’s disassembly shows nine instructions around the instruction pointer, those before it too, within its function (no longer the padding past its ret), each with its offset from its symbol, as the stack and ln count it; where a symbol starts among them, a line names it (nt!KiSystemServiceCopyEnd:). A direct jump or call names its target in place of its address: by its offset when the target is among the instructions shown, under the same symbol (je +0x33), else by its symbol, which u, bp and g take as it is (call nt!ObpPushStackInfo, jle ↓ nt!ObfDereferenceObject+0x59). The jumps between the instructions shown are drawn as arrows, a breakpoint is marked ●, and the instruction the processor is at says whether its jump is taken (its arrow lit) or not taken, and where a ret returns to. The instruction bytes are left out of the stop; u shows them. MCP’s step results show the same.

  • u, ub and uf list instructions as the stop does, with their bytes, and mark the instruction the selected thread is at. uf draws the arrows across the whole function. A short jump now names its target, where it showed a bare address.

  • At a bugcheck stop, the registers are the ones the faulting instruction ran with: those of the trap frame at the fault (one the parameters name, or the innermost trap on the stack, which a 0xD1 or 0x50 is raised from), with those a trap frame does not save, such as rbx and r12-r15, recovered by the stack walk. The heading says registers (trap frame), registers (unwound), or registers (at stop) for the processor’s where neither is found. The stack starts at the frame that faulted, the bugcheck’s own frames folded into one line (00–05  nt!DbgBreakPointWithStatus … nt!KiPageFault+0x468).

  • Stacks (the stop’s, k, !thread, !analyze -v) mark with a line where the walk crosses from kernel code into the user-mode code that called it (user mode) or through a trap or an interrupt (trap).

  • A frame’s source line in k reads as in the stop, [local <path>:<line>] for the copy .srcpath maps, [recorded <path>:<line>] otherwise. In a terminal that supports links, a local copy that matches the PDB, and the file ls and lsa list, are links that open it.

  • dqs, dps, dds and kd name the registers that point into each slot (rsp ▶), and mark a value that is a return address, one the code before ends in a call, ↩ before its symbol.

  • db splits each row’s two halves with -, as WinDbg does, and the memory displays show zero values and unreadable items dimmer than data.

  • ~ marks the selected vCPU with ..

  • On an ARM64 target, the register grid names the flags cpsr has set after its value (cpsr 0000000060000000 [Z C]), as it names rfl’s on AMD64. They were spelled under its digits, on a line of their own.

  • r rfl reads AMD64’s flags register by the name the grid shows, and a selected frame’s or context’s registers answer to their other names too (rfl for eflags, fp for x29). r eax in a frame that did not save rax says it was not recovered rather than that no such register exists.

  • One blank line sets a command’s output apart from the next prompt, whatever the command ended with: some commands left none, others one or two. The output starts right under the command line, and the blank lines between its sections stay. A .logopen transcript reads the same; MCP results, gdbserver’s monitor output and DAP’s debug console end at the output’s last line.

  • Every command’s output follows one style, closer to WinDbg’s. One object’s fields are aligned under a heading that names it (THREAD, PROCESS, TEB, TOKEN, as WinDbg names them); a value that is missing or could not be read is -, with the reason in one note under the block; booleans read yes/no, enumerations Waiting (0x5), flag sets 0x8004 (SE_DACL_PRESENT | SE_SELF_RELATIVE), times 2026-10-15T23:23:28Z, and processes smss.exe (PID 540). Messages start in lowercase, an empty result says what there is none of, and a command that changed nothing says so (.logclose with no log open, .cxr with no context selected). !thread and !process list their fields one per line, not packed into key=value runs, and many extension commands (!vm, !locks, !lookaside, !stacks, !idt, !gdt) lay out their records as tables. Disassembly prints hex in lowercase.

  • Stacks are numbered as k numbers them (00, 01) everywhere, the stop’s and !thread’s too, and every stack in k’s layout has its header row ( # Child-SP  IP  Call Site). A frame without a symbol shows its address in the call site, and a stop names its thread as !thread does (thread ffffb10918a7f080  TID 10236  PID 6532  process svchost.exe).

  • r with a frame or a context selected shows the register grid, with - for a register the frame did not save, as plain r does. It listed the registers one per line, sorted by name as text.

  • A bad argument to a hypervisor command (!hvvps, !hvept, !hvcalls, !hvd, .partition and the others) says which argument is wrong, then the usage line. They printed the whole help text.

  • attach and .process /i also select a thread of the process, so !teb, !gle, and k show it without a .thread: the thread a processor runs, with its live registers, else its first whose kernel stack is resident. They say which they selected. .process without /i still keeps the current thread, as WinDbg’s does.

  • threads with no filter, while attached to a process, lists that process’s threads, as !for_each_thread and !uniqstack do; threads * lists every thread. Its start address is the thread’s own entry (its Win32 start address, such as ping!wmainCRTStartup), named where symbols are loaded, the kernel’s and the attached process’s. It showed StartAddress, which for a process’s first thread is a pool address, unnamed.

  • !locks walks the whole system resource list and shows the resources that are held, as WinDbg’s does, each with whether it is owned exclusively or shared and its owners’ TIDs and processes; !locks -v shows every resource. It showed the first 256 resources, held or not, which on a system with tens of thousands of resources rarely included the one that blocks. A walk of 65,000 resources takes a few seconds, as each is read once.

Fixed

  • 64-bit Windows 7 SP1 is a supported target (platform support): the memory backend finds its kernel (mapped executable inside a large page), and kd leaves it running on exit (it has no SetContextEx, and froze). On it, drivers, !object, !devobj, !drvobj and !handle decode objects (whose type index has no cookie there), !vad, !vprot and .dump /u walk its VAD tree, !pte finds its fixed PTE base, !pool, !poolfind and !zombies read its pool (its protected tags, Proc among them, and its pool range globals), !heap decodes its NT heaps, !dpcs and !pnptriage read its DPC queues and device nodes, and stacks walk through win32k into user mode. Windows 7’s ole32 PDB no longer warns about its WPP annotations.

  • 64-bit Windows 8.1 is a supported target too: !pool, !poolfind and !zombies find its pools (no start globals; its fixed ranges), and stacks walk through win32k, whose symbols now load on 7 and 8.1 (session-space images are read through a session process).

  • The VAD readers (!vad, !vprot, .dump /u, module discovery) take each release’s tree node types from the PDB, so 64-bit Windows 8’s _MM_AVL_NODE tree resolves where it failed on a missing _MMADDRESS_NODE. Windows 8 has not been tried live; its other layouts match Windows 7’s or 8.1’s.

  • 64-bit Windows Vista SP2 and XP Professional x64 SP2 (the Server 2003 kernel) are supported targets: objects are decoded from their headers’ Type pointer and NameInfoOffset (drivers, !object, !devobj, !drvobj, !devstack, !zombies), !timer walks the one timer table their processors share, !process shows XP’s DirBase, !token decodes XP’s privilege array, and their hives show - for the mount point they do not record, not (not mounted). On XP, !heap lists heaps without statistics (its heap layout predates Vista’s), and on both !filecache reads only Windows 7’s VACB arrays and later.

  • The memory backend reads QEMU i440fx (pc) guests with 3.5 GiB of RAM or more, which keep 3 GiB below 4 GiB, and q35 guests with less than 2.75 GiB, which keep all of it there: it took q35’s 2 GiB for every KVM guest, and read the wrong pages above 4 GiB (on an 8 GiB Vista guest, a stack overflow walking the process list). A process link outside kernel space now ends that walk.

  • On Windows 10 22H2 (19045), !zombies and !poolfind find nonpaged pool, and !sysptes and !vm’s paged pool read the system-PTE allocators and pool counts, where they failed or read zeros: that kernel keeps MiState’s later members 0x40 bytes past where its PDB puts them, so ntoseye reads them where the kernel’s own MiVisibleState pointer places them.

  • !poolused reads the per-processor tracker tables up to the processor count, which it read from 4 bytes of the 1-byte KeNumberProcessors (150 tables, mostly garbage, on Vista).

  • callbacks ends each notify array where the next callback global begins: XP’s hold 8 slots, and the globals after them were listed as callbacks.

  • drivers names the module of a driver whose symbols did not load, from the loaded-module list.

  • Thread state 8 reads GateWait, as Vista through 8.1 name it, not Windows 10’s GateWaitObsolete; !dpcs takes a queue whose head was never initialized (XP x64’s threaded queue) as empty, not as a broken list.

  • Stacks no longer fall back to scanning in code split off below its function (an indirect .pdata entry, all through Windows 8.1’s binaries): explorer!wWinMain -> wWinMainCRTStartup -> BaseThreadInitThunk walks by unwind data.

  • !vm reports the pools in use on Windows 7 and 8.1 (MmPagedPoolInfo, MmAllocatedNonPagedPool), where it showed the paged pool’s maximum, and reads the paging-file count and Windows 7’s working sets at their 4-byte widths: number of paging files 1099511627778 and 17904.000 TiB working sets.

  • With --memory-source host, a local VM that is not the KD target is reported as one (host VM memory does not match KD target), not as a bad virtual address.

  • !idt names the interrupt object and service routine connected to each device vector (ndis!ndisMiniportMessageIsr, storport!RaidpAdapterMSIInterruptRoutine), where it named only KiIsrThunk, or on kernels with KVA shadow (Windows 11 among them) nothing under KiIsrThunkShadow. On Windows 8.1, whose vectors point into the interrupt object itself, those vectors are no longer flagged [NON-NT HOOK].

  • !handle scanned up to a count read from 8 bytes of a 4-byte field: 256 of 703300895488 slots on Windows 7.

  • !poolused counted big allocations twice: the tag tables count them, and their bytes were added again from the big-page table, so a tag with 758 big blocks showed 1516. It reads the big-page table only when the tag tables cannot be read, lists tags in the order their characters read (it went by the last one), and leaves out tags with nothing outstanding.

  • !vm shows the system PTEs, each paging file (its size, limits, use, free space and peak use) and the nonpaged pool maximum on Windows 10 and later, which keep none of the globals it read. It said they were unavailable.

  • !sysptes and !vm no longer stop with an overflow on Windows 11 22631 ARM64, whose free-PTE counter goes below zero. Free PTEs are counted from each allocator’s bitmap, and !sysptes shows a counter that disagrees as it reads (-3459) without blaming a race.

  • !heap decodes segment heaps on Windows before 11 24H2, which keep no separate VS free count. It showed no statistics for them.

  • !drvobj ACPI showed the driver named ACPI, not an error that acpi.sys’s image base is no driver object: a name is looked up before it is taken as an expression.

  • On an ARM64 target, !cpuinfo says the processor block keeps no vendor, family, model or stepping and points to rdmsr MIDR_EL1, instead of reporting four x86 fields missing, and !analyze names the program counter pc, not rip.

  • vertarget names the kernel’s PDB by its file, such as ntkrnlmp.pdb, not always ntoskrnl.pdb.

  • On kd and kdnet, a reply that the target sent an earlier debugger and repeats to the next one is passed over, instead of failing the attach with “reply api mismatch”.

  • On an ARM64 target, !pte shows a page Windows lets the process write as writable (W) before its first write, when the hardware still maps it read-only, and marks it dirty (D) once written and copy-on-write (C). It showed such a page as read-only (R).

  • On an ARM64 target, ~ heads the program counter’s column PC, not RIP.

  • !vad shows each region’s commit charge on Windows before 11 24H2, which keeps it in another field. The Commit column was empty.

  • A stack from a breakpoint in a function that JIT-compiled code called, such as a .NET P/Invoke, shows that caller’s frame. The walk dropped it and went on scanning the stack for return addresses.

  • Over kd or kdnet with no host mapping of guest memory (--memory-source kd, a physical machine, or UTM on macOS), page tables read through the kernel’s self-map are fetched a run of entries at a time and kept until the target runs. .dump /u and !vprot cost a request for each entry before: a minidump of a 15 MiB process over KDNET now takes 135 s, not 297.

  • A process whose image name is 15 characters or longer, such as fontdrvhost.exe, is named in full in .dump /u, ps, attach and stops, not cut to the 14 characters the kernel keeps (fontdrvhost.ex).

  • On the kd and kdnet backends, r shows a hardware breakpoint set or cleared with ba/bc, or an MSR written with wrmsr, as soon as you make the change. It showed the debug registers and efer as they were before, until the target ran again.

  • On an ARM64 target, p steps over a pointer-authenticated call (blraa, blrab, blraaz, blrabz), as it steps over blr, instead of into it.

  • Modules are named after their image file, as WinDbg’s lm names them, not the loader’s alias for it: kd.dll rather than kdcom.dll, mcupdate_GenuineIntel.dll rather than mcupdate.dll, in a WOW64 process’s 32-bit module list too. Their module! prefixes follow (kd!, mcupdate_genuineintel!).

  • A stop after p or t marks the registers the step changed even when the thread finished the step on another processor (processor 0 before, processor 3 after), as it often does on a busy guest. The stop marked none then, and MCP’s step result showed the whole stop instead of what changed.

  • A guest’s debug output (DbgPrint), printed as the target runs and by !dbgprint, shows control characters as visible symbols, such as ␛ for an escape, instead of passing them to the terminal, so a driver’s output can no longer move the cursor, recolor or clear the screen, retitle the window, or plant a link. The SDK’s debug_log() still returns the text as the guest printed it.

  • A WHEA_UNCORRECTABLE_ERROR (0x124) and a KERNEL_SECURITY_CHECK_FAILURE (0x139) are described in a full sentence, in the bugcheck stop, !analyze -show and the SDK’s BugcheckAnalysis.description, instead of starting mid-sentence with “and indicates that”.

  • With NO_COLOR set, the prompt and its completion menu are plain too, as the rest of the output already was.

  • With TERM=dumb, as in Emacs’s M-x shell, ntoseye reads commands line by line as with --plain-repl and prints no color or other escape sequences, which such a terminal showed as stray characters.

  • !handle’s Object column, and the SDK’s HandleEntry.object, hold the object, as WinDbg’s does and as !object and !fileobj take it. They held its header, 0x30 bytes before it.

  • !exqueue lists the work queues on Windows 11 build 26200, which keeps one flat list of them per partition. It read the list as one per NUMA node and failed on every queue.

  • !heap -x says which heaps it could not search instead of concluding that the address is in no heap.

  • vertarget reads Windows 10.0, from the shared user data page, instead of Windows 15.26200, which took the dump header’s build-type marker for a version.

  • On a processor whose context a dump did not capture, k says so; it showed a frame at address 0.

  • !error no longer names a code it does not know with a made-up constant (STATUS_UNKNOWN, ERROR_UNKNOWN), and says when a value can’t be a Win32 error. The SDK’s ErrorCode.name is empty for such a code.

  • The working-set sizes of !vm and !memusage, and the SDK’s ProcessMemoryUsage.working_set_size, are in bytes, as the other counters are. They were page counts.

  • s counts the bytes it could not read correctly, and says so when it could read none of the range rather than reporting no matches. dS no longer reads past a string’s MaximumLength.

  • !hvcall on a target without direct host RAM, such as a kernel dump, says that the hypervisor’s memory needs it, as the other hypervisor commands do. It said the processor was not halted in the hypervisor.

  • !address -summary on a user-mode dump without a memory-info list prints the summary only, not every captured range.

  • ntoseye mcp --http <address> --unsafe-http answers requests addressed to the host’s network address or name. Since v0.49.1 it refused every request whose Host was not a loopback name with 403 Forbidden, so no other machine could use it.

  • On a VBS guest over kd or kdnet, bp in user-mode code that Windows will not let the debugger write, such as ntdll’s and kernelbase’s, works when ntoseye reads the VM’s memory from the host: it writes the breakpoint into that memory itself, on x86 guests. So do p over a call that returns into such code, and the cleanup of such a breakpoint after a killed session. They failed with NTSTATUS 0xc0000001 or bad virtual address; where the fallback is not available, the error now says that Windows refused the write and what to use instead.

  • ba takes its options after the access and size too, as WinDbg writes them (ba e1 /p 4 kernelbase!SleepEx); it took them only before (ba /p 4 e1 ...) and said /p was an invalid expression.

  • Over kd and kdnet, t, p and pc step a WOW64 program’s x86 code. Windows reports a step there as STATUS_WX86_SINGLE_STEP, and each step failed with target raised exception 0x4000001e while single-stepping, though it had stepped. p over a call to a helper that allocates its caller’s frame, such as _SEH_prolog4 or _chkstk, stops after the call instead of running on to the next breakpoint.

  • pt, tc, pc and the other walks step over a system call that user-mode code makes (syscall, or int 0x2e), as p does, and go on after it. They stopped with nt!KiSystemCall64Shadow ... is in ntoskrnl's KVASCODE section, from planting a breakpoint where the processor enters the kernel.

  • t and p on an instruction that takes long, such as a system call that waits, finish in the stepped thread when another thread hits a breakpoint meanwhile. A hit outside the breakpoint’s scope, such as another process’s on a bp /p site in a shared DLL, is passed over; any other stop, such as an in-scope hit, ends the step there and says what it is. The step ended in the other process, at the breakpoint site, with nothing saying why.

  • gu, p over a call, tc and the other walks step a thread of another process than the one .process or attach selected, such as one a breakpoint stopped in, in that thread’s own address space. gu said the return address is not mapped in the selected process, and the walks failed with bad virtual address on the thread’s code.

  • k on a WOW64 thread stopped in its x86 code, as at a breakpoint in x86 kernelbase, lists its x86 frames up to _RtlUserThreadStart, and gu there steps out to the caller. The stack showed only the frame it stopped in, and gu said it could not find the caller’s return address.

  • !vad shows each region’s commit charge, in pages, on Windows 11 24H2 and later, where the VAD keeps it in a field of its own. It showed - for every region.

  • !handle names the handles whose objects have no name of their own, as WinDbg’s does: a file by its path on its device (\Device\HarddiskVolume3\Windows\System32\en-US\csrss.exe.mui), a registry key by its path as the hive names it (\REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\Session Manager), a process by its image and PID, a thread by its TID and process. They showed -.

  • !locks <address> shows each owner’s real acquire count. It showed eight times the count on Windows 10 and later, where the count is a bitfield above three flags.

  • Code the compiler split off from a function and placed after a funclet ($filt$, $fin$) is named after its function, by its function-table entry, in stacks, stops, u and ln: nt!ExpWaitForResource+0x4c011f rather than nt!KiLockServiceTable$filt$0+0x2fe, a filter of another function that the address was merely nearest to.

  • !locks shows an exclusively owned resource with its one owner. It also listed the shared owners its owner table kept from before, as if they owned it too.

  • A hardware execute breakpoint (ba e) is no longer missed when the stop’s DR6 does not say which slot fired, as Windows under KVM reports some hits. Such a hit was taken for a stray single step and resumed, so it faulted again, and could surface as an unexplained single-step exception: a ba /p watch on a shared DLL stopped in other processes.

  • Over KD, the first g no longer stops at once at nt!DbgBreakPointWithStatus when ntoseye connected to a guest already halted at a break of its own, such as a user-mode int 3 or a resource timeout. The kernel kept the break-in the connect sent and took it on its first clock tick.

  • Over KD, a user-mode image that Windows reports with !gflag +ksl is no longer taken for a kernel module: each one triggered a refresh of the kernel module list, and its base was offered as a hint at where the kernel is.

  • Over KD, connecting while a user thread was running (or Windows was stopped in a user process) no longer makes that process the kernel’s for the session: ntoseye took the stopped processor’s page tables for the kernel’s, so the process showed as kernel, its addresses went unsymbolized, and its modules showed in every other process. The kernel’s are now the System process’s.

  • Ctrl+C while a filtered breakpoint fires faster than Windows polls for the break-in (a ba /p watch on a shared DLL) stops as a pause. After its retries it surfaced as an unexplained single-step exception in whatever process hit the watch last.

  • The stack of a WOW64 thread in a user-mode minidump goes on into its x86 frames, from the x86 context its TEB’s CPU area saved, as on a kernel target.

  • .dump /u puts committed pages that the process never touched in the minidump, as the zeros they hold. They were left out as if their contents were unknown: in csrss from the kernel dump, 7 MiB.

  • .dump writes the whole exception record of the stop into a kernel dump’s header: its flags and parameters (an access violation’s access type and address) were zeros.

  • dt reads a word after the type that names one of its fields as that field, as WinDbg does, even when the word would also evaluate: dt nt!_KPROCESS BasePriority showed the whole type, because basepriority is a pseudo-register. The address may come before or after the fields (dt nt!_EPROCESS UniqueProcessId <address>).

  • C++ functions and variables of public PDBs are shown and looked up by their undecorated names, as in WinDbg (sechost!ScDispatcherLoop, nt!ST_STORE<SM_TRAITS>::StDmpSinglePageInsert, `string'), instead of their decorated names (?ScDispatcherLoop@@YAXPEAPEAX@Z).

  • A page under a page table that the guest trimmed but still holds in memory (its PDE in transition) reads, as the page table is still in its frame; the walk stopped at the PDE, and the page read as unavailable.

Removed

  • In Tern, results print as text, as in any other terminal: stops, stacks, memory dumps and the other results Tern drew as cards, tables and trees are text again. Tern’s input field, with its completions and palette, stays, and so do the timer while g runs and the progress bars of long tasks.

v0.51.0 (2026-10-19)

Added

  • A local directory on the symbol path (--sympath-append, .sympath+) supplies the PDBs in its subdirectories too, eight levels down, so a mounted virtio-win ISO’s driver PDBs (viostor/w11/amd64/viostor.pdb) load without copying them out. ntoseye reads each directory once; .reload reads it again for PDBs put there since.

Fixed

  • !analyze names the faulting instruction and its driver for a KERNEL_SECURITY_CHECK_FAILURE (0x139) and an UNEXPECTED_KERNEL_MODE_TRAP (0x7F, or 0x1000007F in a minidump), from the trap frame the parameters name or the stack crosses, and buckets the crash and names the culprit by that driver. It named no fault for them, and bucketed them on the instruction the processor stopped at.

  • A kernel dump that QEMU wrote (dump-guest-memory -w, which libvirt runs when a guest crashes) now opens on the processor that bugchecked, so !analyze, k and the registers show the crash. ntoseye opened such a dump on processor 0, which on a multiprocessor guest was usually a processor that the bugcheck froze in nt!KiFreezeTargetExecution. !analyze starts that processor’s stack at nt!KeBugCheckEx, as for a dump Windows wrote, rather than in the bugcheck callback (pvpanic’s) that QEMU’s dump was taken in, and no longer takes that callback for the current instruction when it buckets the crash or names a culprit.

v0.50.0 (2026-10-16)

The Python SDK is now generated from the same definitions as the REPL: each command’s SDK method takes the same arguments, runs the same checks, and returns the record the command prints, with the command’s help as its docstring. Results are typed records that behave as values, and a stop is one Stop hierarchy that match and isinstance() narrow to the kind of stop and its own parts. Scripts written for v0.49 need changes; the Python SDK guide shows the current API, and the SDK reference lists every class.

Added

  • SDK methods for commands that had none: dbg.inspect.hang(), decode_bugcheck(), blackbox_bsd() and the other blackbox_*() reports, session_processes(), vtop(), set_global_flags(), virtio_driver(), vring_raw(), etw_save(), etw_crash_save() and etw_crash_session(); Memory.pte(); Process.inspect(), decode_peb() and loader_modules(); Thread.decode_teb(); UserDump.address_report(), what !address shows on a user-mode minidump; and Breakpoints.list() and commands(), what bl and .bpcmds show.

  • Every SDK handle (Process, Thread, Module, Cpu, Heap, Driver, Device, Breakpoint, Trustlet, UserThread, and the hypervisor’s) has its record as info, each of the record’s fields as a property, to_dict(), and == and hash by the object it names and the target it was read from: after the target reloads, an old handle is not equal to a new one for the same object. A process, thread or module handle goes stale when the target reloads, not when its object exits.

  • An SDK argument that is a kernel address also takes a debugger expression ("nt!KiSystemCall64+0x10") or the handle of the object there: dbg.memory.read(proc, 16) reads the EPROCESS, and dbg.types["nt!_ETHREAD"].at(thread) makes a cursor on a thread’s ETHREAD. The handle must come from the same debugger, dbg.run(address=...) and dbg.step(until=...) included.

Changed

  • Breaking: A Stop is one class with a subclass per kind, and each kind’s part is on its own subclass, never None there: Stop.Breakpoint has breakpoint (a BreakpointHit, with condition_error and the breakpoint’s serial), Stop.Exception has exception (stop.exception.code), Stop.ModuleLoad and Stop.ModuleUnload have module, Stop.Bugcheck has bugcheck (the code and parameters; dbg.inspect.bugcheck() analyzes it), and Stop.Reload (was Stop.Reboot) has reload. match stop: case Stop.Breakpoint(breakpoint=hit): and isinstance() narrow, and stop.kind names the class ("module_load"). A stop found at attach is the new Stop.Entry, not Stop.Interrupt. stop.hit(bp) replaces bp in stop.breakpoints; it compares the breakpoint’s serial, so a later breakpoint that reuses the id, or another debugger’s, is not the one hit.

  • Breaking: Exceptions.set(code, *, mode=None, command=None, disposition=None) sets an exception’s policy and returns its ExceptionPolicy, and the new set_module_event("ld" | "ud", module=None, *, mode=None, command=None) sets a module load or unload filter and returns its ModuleEventPolicy. set("ld") and set("ud:<module>") raise ValueError.

  • Breaking: How a list walk ended is a ListTermination (was ListEnd), with a subclass per kind: ListTermination.Cycle has the address where the cycle closed, ListTermination.Corrupt the error, and every kind a diagnostic, why the walk stopped before the list head. A list such as WdfQueueDetail.pending stays a list, with pending_stopped beside it.

  • Breaking: A stop’s thread and process are ThreadInfo and ProcessInfo records, and its cpu is the processor number, so a stop is a snapshot that stays true: the collections take them as keys, as in dbg.threads[stop.thread].backtrace() and dbg.cpus[stop.cpu].registers. when= callbacks receive the same Stop.

  • Breaking: dbg.run_to() and dbg.cont() are gone: run(address=...) runs to an address, step(until=address) and step_over(until=address) single-step there, and run(disposition="handled") resumes past an exception. step() and step_over() take timeout first and until= by keyword. reboot() and crash() wait for the stop and return it.

  • Breaking: Results are records that behave as values, like frozen dataclasses: they compare with ==, hash, and match their fields (case ModuleInfo(name="nt")), and are no longer mappings. Read a field as an attribute instead of record["field"], and use to_dict() instead of keys(), items(), len() or iterating. The Record class is gone: name-keyed maps, such as vmcs_fields(), SavedVtl.general_registers and VpRegisters.registers, are plain dicts (general_registers["rcx"]).

  • Breaking: Options are keyword-only: an SDK method takes what it is about (an address, a name, a record) by position, and its modes, flags and options by keyword, as in exceptions.set("av", mode="break"), breakpoints.add(target, condition="..."), thread.backtrace(limit=8), inspect.vring(address, module="viostor"), vtl.read(address, size, physical=True) and memory.read_unicode_string(address, bits=32). An address argument is named address everywhere (was addr on Memory and Type.at()), and Memory.read() takes size (was n).

  • Breaking: A field or argument with a fixed set of values is typed as a Literal of snake-case names, which the REPL still prints in its own words: for example "kernel_module" for AddressDescription.kind, "ntstatus" for an error code’s kind, "no_pdb" for ModuleSymbols.status, "pde" for a page-table level, and "nonpaged" for a pool type.

  • Breaking: Many SDK classes have new names, one per model concept, shared with the REPL’s records (LoadedModule is ModuleInfo, ThreadSummary is ThreadInfo, MemoryRegion is MemoryRegionInfo, and MemoryRegion is now a user-mode minidump’s region, …), and some fields moved: paths no longer repeat their parent (thread.inspect().info.tid, heap.inspect().nt.header.index, dump.exception.info.code, report.power.record, region.info.base), and ModuleInfo.base and .timestamp are the module’s base and timestamp. The SDK reference lists each class with its fields.

  • Breaking: Collections behave alike. Each iterates as a typed Iterator[...] (the ProcessIterator-style classes are gone), and [], get() and in take its key, its item’s record (dbg.threads[stop.thread], dump.threads[thread_info]) or, for in, the item itself (bp in dbg.breakpoints). get()’s parameter is named key, and at()’s address. Regions.at(address) is Regions.get(address), and Threads.at(address) returns None instead of raising when no thread has that _ETHREAD.

  • Breaking: dbg.breakpoints.watch() returns a Breakpoint, whose watch_access and watch_length replace Watchpoint.access and .length; Breakpoint.address is None for a breakpoint that has not resolved. A one-shot breakpoint that fired is no longer listed: its handle’s valid is False and delete() does nothing, and a new breakpoint, from the REPL or the SDK, can take its address.

  • Breaking: The SDK names a processor by its number everywhere: Stop.cpu, ThreadDetail.cpu, ThreadStack.active and FindStackThread.active are the processor number (an int, or None), VcpuInfo has number instead of id, and Cpu.number replaces Cpu.id. dbg.cpus is a plain sequence that takes an int. Cpu.info() (!cpuinfo) is Cpu.cpuinfo(), and Cpu.info is the processor’s VcpuInfo record, as on every handle.

  • Breaking: UserThread’s thread-info stream fields (start_address, create_time, exit_time, kernel_time, user_time, exit_status, affinity) are in UserThread.times, a UserThreadTimes or None; UserThread.stack is a CapturedStack (start, size) instead of a tuple; and a user thread’s identity is its tid (the id text is gone).

  • Breaking: Memory.describe(address) always returns an AddressDescription and is refused on a user-mode minidump, whose region report is UserDump.address_report(). Inspect.global_flags() reads the flags, and set_global_flags(change) sets them.

  • Breaking: The REPL refuses words a command does not take, with <command>: unexpected argument '<word>', instead of ignoring them or printing the help: vertarget x, k 3 extra and ln nt!KeBugCheckEx extra now fail.

  • Breakpoint actions (bp ... "do") and exception filter commands (sx -c) run at every stop that triggers them, whichever host resumed the target: the SDK’s run(), wait() and steps, the DAP adapter and the gdbserver run them too, not only REPL commands. In the SDK their output goes to sys.stdout. A breakpoint takes when= or action=, not both (ValueError).

  • An exception that a notify filter (sxn) lets pass is reported as a notice on every host, in the REPL, the SDK’s dbg.notices(), MCP and DAP, and its -c command runs.

  • Ctrl+C during the SDK’s run() or wait() breaks in and leaves the target halted, as it does during command("g"); it used to leave the target running.

  • .reboot and .crash wait for the target’s next stop and show it, and the SDK’s reboot() and crash() return it. On a backend that cannot control the target, they say it needs target control support.

  • The SDK checks a method as the REPL checks its command, with the same refusals: a run or step on a crash dump raises the dmp backend cannot run or step the target, and hypercalls(), select_partition(), Driver.inspect() and Device.inspect() need a kernel target. write_dump() shows .dump’s progress bar.

  • On a crash dump or user-mode minidump, a command that writes memory or registers (eb, ew, ed, eq, ef, ea, eza, !eb, !ed, !eq, f, r rax=1) and the SDK’s Memory.write*() are refused before they read their arguments, with <command> is not applicable to a static crash dump. .pagein, which runs the target to page memory in, says the backend cannot run the target, and it is refused in a breakpoint action, an exception command, and from GDB and DAP clients.

  • ib, iw and id need a halted kernel target whose backend reads I/O ports, since reading a port can change the device: they are refused on a dump and while the target runs.

  • !address -SUMMARY on a user-mode minidump, !chkimg -D and the !ndiskd.nbl switches are recognized in upper case, as WinDbg takes them; !address -SUMMARY failed with Symbol 'SUMMARY' not found. On a kernel target, !address -summary says it needs a user-mode minidump, and its usage shows that a kernel target takes an address. An unknown switch, such as !chkimg /x or !gflag /x, says so instead of being taken as a module or an expression.

  • A command line that does not parse reports why, then the command’s usage, so the usage in the error is the one help shows. !reg q and dx’s -v, -nv and , x, which were accepted, are in their usage.

  • --plain-repl scripts go on after a command fails, reporting the error, as the interactive REPL does; a failing command such as !dbgprint x used to end the script.

  • .thread . selects the current thread, and !thread with a bad count says so instead of ignoring it.

  • In the VTL1 view, r reg=value, ob/ow/od and the SDK’s Memory.write*() are refused as read-only, and .sympath, .reload and .fetchimage work. At a stop in VTL1, the SDK refuses what the REPL refuses: memory writes and the methods that read NT’s structures. In VTL1, gh, gn, pc, tc, pt, tt, ph, th, bp and the sx commands are accepted (a bp in VTL1 code is still refused), !hvr is refused in the .vtl 1 view, and a refusal names the command as typed.

  • q exits sooner, by 0.2 s on a minidump of a process with many modules loaded.

  • k and ~*k on a minidump that lacks a module’s code ask the symbol server for the module’s image once per session, as for PDBs, instead of at every stack walk when the server does not have it or cannot be reached; .reload asks again. Offline, ten ~*k on an ARM64 minidump took 1.7 s and now take 0.3 s.

  • s searches about ten times faster: 256 MiB of a user-mode minidump’s address space in 45 ms instead of 420 ms.

  • --plain-repl, the MCP server, the DAP adapter and the Python SDK start sooner: they build the symbol and type name indexes behind completion and symbol search when a search first needs them, not when the session starts. Opening a PowerShell minidump with --plain-repl takes 0.29 s instead of 0.39 s.

  • Indexing a module’s symbols is faster, so a dump with many modules opens about a third sooner: a PowerShell minidump opens with --plain-repl in 0.22 s instead of 0.29 s, and a charmap minidump in 0.10 s instead of 0.15 s.

  • The ntoseye command and the Python package allocate memory with mimalloc, which makes opening a dump, k, and symbol searches about 15% faster. Indexing symbols takes more memory at its peak: about 1.3 GiB instead of 1.0 GiB for an ARM64 PowerShell minidump with 95 modules.

  • A command’s usage line in help and the command reference comes from what the command accepts, so it lists what some lines left out, such as .process ... [eprocess|pid|0], !apc [.|*|thread|process] and the byte length of c, m, f, s and .writemem. A command with several forms shows one usage line for each, as !alpc, !heap and .kdfiles do.

Fixed

  • Over KD, ntoseye refuses, with the reason, what crashed Windows with bugcheck 0x7F (UNEXPECTED_KERNEL_MODE_TRAP): a single step or breakpoint in the code where Windows switches between kernel and user mode (ntoskrnl’s KVASCODE section, such as nt!KiKernelSysretExit), and a breakpoint, ba e1 included, in the code Windows runs to dispatch a debug trap before it reports the trap to the debugger (such as nt!KiDispatchException and nt!RtlpValidateContextFlags2). A step that reaches the switch, such as pt past a system call’s return, stops before it with the same error, and a wt or SDK walk whose thread an interrupt delayed into the dispatch code ends there instead of planting a breakpoint in it.

  • Over KD, wt, pt and the SDK’s trace_calls() and step(until=) keep to their thread when a step it took an interrupt before ends on another processor. They lost it there, ran on, and could trace past the function’s return, into the next system call or the switch to user mode.

  • Over KD, a breakpoint that another processor hit just as ntoseye removed it no longer stops the target as an unexplained breakpoint exception: the processor goes on with the instruction, which a step or wt that was following a thread reported as the target stopped on an exception while the traced thread was switched out.

  • !pfn <value> -a reads the physical address, as -a asks; a -a after the value was ignored.

  • The SDK’s Memory.disassemble() returns the instructions that are readable when the rest of the window is not, and names their targets as u does, instead of raising; a count outside 1-4096 raises for disassemble() and disassemble_back() alike.

  • On a user-mode minidump, Process.protection() reads the dump’s memory information instead of failing.

  • Sid.well_known names a well-known SID in every SDK result, dbg.inspect.acl() included, without an option.

  • The SDK’s ndis_nbl(..., data=True) reports a NET_BUFFER it cannot read in its data_error instead of failing the whole read.

  • Thread.decode_teb() reads the TEB of a thread whose process is unknown instead of failing with thread has no associated process.

  • Cpu.pcr() and the other per-processor SDK methods refuse a processor number the target does not have, as !pcr 99 does.

  • Symbols.reload() reports breakpoints it could not resolve again in its breakpoint_error instead of raising.

  • The SDK’s run() and steps return a stop that the target reached while the script was not waiting, such as after run(timeout=...) returned None, instead of resuming past it, which skipped the breakpoint’s action and when=.

  • A step over a call whose page is not resident, or whose code does not decode, says why on every host, not only in the REPL.

  • The SDK’s breakpoints.add() refuses an address inside an instruction, as bp and bu do, instead of setting a breakpoint that corrupts it; where it cannot check, it puts the warning in dbg.notices(), and unchecked=True skips the check, as bp /a does. Its breakpoints and watch()’s are named by their closest symbol in bl, as the REPL’s are, and in VTL1 a hardware one refuses process= and thread=, as ba /p and /t do.

Removed

  • Breaking: Inspect.ndis_nbl_data(): ndis_nbl(address, data=True) and ndis_nbl_chain(address, data=True) return the frame bytes with the buffers. security_descriptor(annotate_well_known=...) and pool_usage(include_counts=...) are gone too: well-known SIDs are always named, and the usage always has its counts.

  • The Python SDK no longer defines HeapSummary and HeapOverview. No SDK method returned them; they were left over from MCP’s removed JSON output. Heap.inspect() still returns HeapDetail.

v0.49.1 (2026-10-14)

Fixed

  • With KDNET, a target resumed from a suspend that changed its UDP source port, as a NAT mapping can, keeps its session: g and break-ins reach it instead of going to the old port.

  • MCP HTTP clients can connect using any address in 127.0.0.0/8, such as 127.0.0.2, instead of receiving HTTP 403; non-loopback and malformed Host authorities are rejected.

  • In the DAP adapter, selecting a stack frame of a user-mode or kernel minidump no longer stops the Debug Console, watches, and hovers from resolving module names, symbols, and types, such as ? kernelbase and dt ntdll!_TEB, until the session ends; on a user-mode minidump, !gle, !teb, and !peb said ntdll’s PDB was not loaded.

  • With --memory-source kd, as an ARM64 guest under UTM uses, memory that Windows has not touched lately reads as it is, instead of as ?? or Bad virtual address: Windows clears a resident page’s access flag to age it and its debugger then refuses the page, so ntoseye reads the page through its page tables. On such a guest, !reg could not read any key, because the master hive’s base block was one of these pages.

  • uf disassembles a leaf function, which has no unwind data, such as nt!KeQueryActiveProcessorCount on ARM64: from its symbol, as far as its control flow reaches before the next symbol, instead of failing with no runtime-function entry contains.

  • !pcr on an ARM64 target leaves out CurrentPrcb, IDTR, GDTR, and TssBase, which an ARM64 KPCR does not have, instead of listing them as unavailable.

  • The __imp_ import symbols an ARM64X image’s PDB records, such as mscoree.dll’s on ARM64 Windows, no longer name the first bytes of the image: their offsets reach past the end of the image, and they are skipped.

  • On an ARM64 user-mode minidump, k unwinds through JIT-compiled code, such as .NET’s, by the dump’s dynamic function tables, as on AMD64, instead of scanning the stack from the first JIT frame on.

  • On ARM64, k unwinds through a recursive call, a frame that returns to the same call site as the one before it, instead of stopping there and scanning the stack.

v0.49.0 (2026-10-11)

ntoseye now opens Windows user-mode minidumps, such as procdump and Windows Error Reporting write, and analyzes the exception in them. For drivers, it shows what a power hang is stuck on, a KMDF driver’s requests and I/O targets, NDIS filters and protocols, StorPort’s request log, and the registry as the hives in memory hold it; dx reads WinDbg’s data model with its queries.

Added

  • !ndiskd.filter, !ndiskd.filterdriver, and !ndiskd.protocol list the guest’s NDIS filter modules, filter drivers, and protocol drivers, and show one with its miniport, stack neighbors, and context, or its bindings. !ndiskd.oid shows every OID request a miniport or filter has not completed, and !ndiskd.nbl decodes a NET_BUFFER_LIST, its NET_BUFFERs, and with -data the frame bytes, read through the MDLs. See network miniports.

  • !storagekd.storloglist shows the last 256 events StorPort logged for an adapter: each request it built, started, and saw completed, with its IRP, SRB, and command, and pauses, resumes, timeouts, and resets; !storagekd.storlogirp and !storagekd.storlogsrb show one request’s entries. !storagekd.storsrb decodes an SRB, extended or legacy, with its command, status, address, and sense data, and !storagekd.storclass lists the disks and other class devices with the requests classpnp has in flight and the last errors it logged. See StorPort adapters.

  • !rcdrkd.rcdrloglist and !rcdrkd.rcdrlogdump read the WPP recorder’s in-flight logs of drivers such as usbxhci, pci, and your own, formatted from the TMF annotations in loaded PDBs. See the WPP recorder.

  • dx reads the debugger data model: Debugger.Sessions, @$cursession, @$curprocess, and @$curthread, their processes, threads, modules, and handles (Io.Handles, with each object’s name and typed UnderlyingObject) indexed as in WinDbg, and KernelObject, which reads on as a typed expression, such as dx @$curprocess.KernelObject.UniqueProcessId. Collections take WinDbg’s queries with lambdas, such as dx @$cursession.Processes.Where(p => p.Name == "lsass.exe").Select(p => new { Name = p.Name, Id = p.Id }), with OrderBy, SelectMany, First, Any, Count, and string methods, Debugger.Utility.Collections.FromListEntry walks a kernel list, dx -g shows a collection as a grid, and , d and , <count> set the format. See dx and queries.

  • !apic [processor] shows a processor’s local APIC over KD, in xAPIC or x2APIC mode: its ID, priorities, LVT, timer, ICR, and the vectors in service and requested. !ioapic shows each I/O APIC and PIC line the HAL set up, with its vector, IRQL, trigger, polarity, and target, on every backend and in kernel dumps.

  • !sysinfo machineid and !sysinfo smbios read the machine’s SMBIOS table: the BIOS, system, and baseboard identity, and the processor and memory structures. !sysinfo cpuinfo shows the processor as !cpuinfo does.

  • The SDK returns what these commands show as typed records: dbg.inspect.ndis_miniports() and the other ndis_* methods, with ndis_nbl_data() for a NET_BUFFER_LIST’s frames as bytes; storport_adapters(), storport_unit(), storport_log(), srb(), and class_devices(); rcdr_drivers(), rcdr_logs(), and rcdr_log(); interrupt_controllers() and smbios(); and cpu.apic(). See NDIS, StorPort, and the WPP recorder from Python.

  • The DAP adapter offers exception breakpoints: access violation, illegal instruction, divide by zero, and stack overflow break at the first chance when checked and the second when not, and module load and unload stop when checked. See breakpoints in DAP.

  • --srcpath <directory> maps a driver’s source tree from the start of the session, as .srcpath+ does, and can be given more than once. See private PDBs and local source.

  • !poaction shows the system power action in progress and every power IRP the power manager has allocated, with the driver each one is pending in and how long ago its watchdog was armed, and the threads that pass power IRPs to drivers. !podev shows a device object’s power state, its idle detection and power framework registration, and the power IRPs sent to its stack, and !popolicy shows the system power policy in effect. In the SDK, inspect.power_action() and inspect.device_power() return what !poaction and !podev show. See power hangs.

  • !wdfkd.wdfrequest shows a WDFREQUEST: its IRP with the current stack location’s function and buffer lengths, the queue it came from, whether it can be canceled and the driver’s EvtRequestCancel, and for a request the driver sent, the I/O target, completion routine, and context. !wdfkd.wdfiotarget shows a WDFIOTARGET: its state, whether it is the device’s default target or one the driver opened, the device object it sends to and that object’s driver, and the requests sent to it and not completed, each with its IRP. !wdfkd.wdfobject shows any KMDF object, by handle or FxObject address, with its contexts and children, for the types without a command of their own. In the SDK, inspect.wdf_request(), inspect.wdf_io_target(), and inspect.wdf_object() return them. See requests and I/O targets.

  • !reg reads the registry from the hives in kernel memory, on every backend and in crash dumps: !reg hivelist lists the loaded hives with where each is mounted and the file it came from, and !reg querykey (or !reg q) shows any key, such as !reg q HKLM\SYSTEM\CurrentControlSet\Services\Tcpip, with its last write time, its subkeys, and its values decoded by type, following CurrentControlSet and the other symbolic links; -v <value> shows one value in full. !reg keyinfo shows a key by the address of its key node, and !reg cellindex shows where a cell is. A cell whose page is not in memory is named as such, and the rest of the key still shows. Tab completes key paths, and custom REPL commands complete them with the RegistryKey marker. In the SDK, inspect.registry_hives(), inspect.registry_key(), and inspect.registry_value() return them, with each value’s data as a str, list[str], int, or bytes, and inspect.registry_key_at() and inspect.registry_cell() return what keyinfo and cellindex show. See the registry.

  • --dump opens Windows user-mode minidumps, such as procdump, Task Manager, and Windows Error Reporting write, for AMD64 and ARM64 processes. lm lists the modules and loads their PDBs from the dump’s module records even when their code was not captured, ~ lists the threads with their names and ~Ns switches to one, .ecxr and .exr -1 show the exception, and k unwinds through the modules, fetching an image from the symbol server when its unwind data is not in the dump, and through JIT-compiled code such as .NET’s by the dump’s dynamic function tables. !analyze reports the exception: its code, flags, and parameters, the faulting stack and module, a failure signature, and the culprit. !teb, !peb, !gle, and !dlls read the selected thread’s TEB and the PEB, !handle lists the handles the dump recorded with their types, names, and access, !address and !vprot show the address space’s regions and what each holds, !heap walks the heaps, and .time and vertarget show when the dump was written, the process’s times, and the system it ran on. Memory commands, dt, x, ln, and dx read the captured memory and say when an address was not captured, and $teb and $peb point to the selected thread’s TEB and the PEB. Commands that need a kernel say so, and help leaves them out. In the SDK, dbg.user_dump holds the process, its threads by thread ID, the exception, the handles, and the regions, and inspect.triage() returns the exception report. The MCP server’s open and its trailer describe the dump’s threads, and in DAP the threads are the dump’s, the session stops at the exception, and run control and writes are refused. Linux minidumps from Breakpad and Crashpad are refused. See user-mode minidumps.

Changed

  • !wdfkd.wdfdevice lists the device’s I/O targets with their WDFIOTARGET handles and marks the default one, and !wdfkd.wdfhandle names the command that shows the object in full, such as !wdfkd.wdfrequest <handle>. The SDK’s inspect.wdf_device() returns the targets as io_targets.

  • !analyze names what a DRIVER_POWER_STATE_FAILURE (0x9F) is stuck on: for subtype 0x3, the blocked power IRP and the driver it is pending in, which becomes the culprit and the failure signature, the device stack of the PDO, and the power IRP worker threads with their stacks; for 0x4, the thread holding the PnP lock and its stack; for 0x1, 0x2, and 0x500, the driver of the device or driver object in the parameters. !analyze -show 9f <p1> <p2> <p3> <p4> reads what the parameters point to in the target, and the SDK’s inspect.triage() returns the findings as power. See power hangs.

  • !storagekd.storunit names the command of each request the miniport holds, such as WRITE(10) LBA 0x64b500, 8 blocks.

  • The SDK’s trace_calls() takes timeout=: a trace that waits on its thread while other threads keep reaching its next instruction first then ends as interrupted, halted where it got to, rather than running on with no end. See steps.

  • !process takes an image name in place of the process: !process explorer.exe shows explorer.exe, and !process svchost 0 lists each svchost.exe, as .process explorer.exe already took one. A selector that names no process now says so, rather than no matching process. See !process.

  • In the SDK, a triage report’s Culprit has a kind, and its module is None when the culprit is generated code that no module holds, which only a user-mode minidump reports. A kernel culprit still names its module.

Fixed

  • Over KD, rdmsr and wrmsr read and write the processor selected with /p or ~Ns, and the SDK’s cpu.msr its own processor, instead of the one that reported the stop.

  • !handle reads a process’s handle table in a kernel dump that lacks the process’s own page directories, such as lsass.exe’s under VBS, instead of failing with Bad virtual address: the table is kernel memory, read through the kernel’s.

  • Ctrl+C stops !process 0 7 and the other thread listings of !process at the next thread, with interrupted after N thread(s), instead of walking every thread’s stack first.

  • Tab completion offers the symbols and types of a PDB that loaded after the session started, such as a driver’s whose symbols load when first needed or a download that finished, instead of only after .reload or a switch of process.

  • k unwinds through a recursive call, a frame that returns to the same address as the one before it with the stack pointer further up, instead of stopping there and falling back to a stack scan.

Removed

  • Breaking: browse and its F2 key in Tern are gone. Tern draws what commands print, and adds no features of its own: use u, db/dq, dt, k, and r at the prompt, or the disassembly and memory views of an editor over the DAP adapter.

v0.48.0 (2026-10-08)

ntoseye can now show where a driver’s I/O is stuck, in its virtio queues, StorPort adapters or NDIS miniports, and gets more out of a crash dump: the blackboxes, the KMDF log and the ETW sessions that Windows saves in it, and dx as WinDbg lays it out. In Tern, the browser now steps the target and reads memory as types.

Added

  • !virtio lists the guest’s virtio devices and, with a virtio-win driver’s private PDB, each queue’s state: what the device holds, what the driver has not taken back, and what moved since the last look, naming a queue that is stuck. !vring shows a queue’s buffers and decodes each block, SCSI, network or GPU request with the device’s answer. In the SDK, inspect.virtio() and inspect.vring() return the same as records. See virtio devices.

  • !storagekd.storadapter and !storagekd.storunit show StorPort adapters and units, such as viostor’s, vioscsi’s and storahci’s: their state, whether a unit’s queue is frozen, paused or busy, and each request the miniport holds with its IRP and SRB. See StorPort adapters.

  • !ndiskd.miniports, !ndiskd.miniport and !ndiskd.minidriver show the guest’s network miniports, such as NetKVM: their driver, state and link, the adapter context to dt with the driver’s PDB, the filter stack and bindings, and the OID request not yet completed. See network miniports.

  • Guest debug output (DbgPrint) with the gdb and memory backends, as over KD: the REPL prints it while the target runs, MCP results carry it as [dbgprint], and DAP shows it in its console. !dbgprint shows the kernel’s whole buffer on every backend and in crash dumps, including output from before ntoseye attached. See debug output.

  • .enumtag lists the tagged data that bugcheck callbacks add to a crash dump, as WinDbg does, and !blackboxbsd, !blackboxntfs, !blackboxpnp, !blackboxwinlogon and !blackboxpci decode Windows’ blackboxes in it. !wdfkd.wdfcrashdump shows the In-Flight Recorder log that KMDF saves of one driver, the only copy in a minidump, and with loader the KMDF drivers. !analyze sums up each blackbox in a line and names the driver whose KMDF log the dump holds. In the SDK, version().dump.tagged_blocks lists the blocks and inspect.read_tagged() reads one, so a script can decode a driver’s own crash data, and inspect.wdf_crash_log() and inspect.wdf_crash_drivers() return KMDF’s. See tagged data and blackboxes and KMDF drivers in a crash dump.

  • In a minidump, the !wmitrace commands read the ETW sessions that Windows saves in it, such as EventLog-System and WiFiSession, and decode their events as they do from memory. WinDbg’s !wmitrace lists only the first of them in a minidump and cannot read their buffers. In the SDK, inspect.etw_crash_sessions() and inspect.etw_crash_events() return them from any crash dump. See ETW sessions in a minidump.

  • dx shows a typed expression’s value and its fields as WinDbg’s dx lays them out, such as dx -r1 (*((nt!_IO_STACK_LOCATION *)0xffff...)) or dx @$proc->UniqueProcessId: WinDbg’s type names (unsigned long, _DEVICE_OBJECT *), the fields in declaration order with each bitfield’s bits, and after a pointer the number, string or function it points to. A cast takes C type names such as (unsigned long *). The debugger data model (@$curprocess, Debugger.*) and NatVis views are not supported. See dx.

  • In Tern, the browser (browse, F2) steps and runs the target with WinDbg’s keys (F10, F11, Shift+F11, F5, and F7 to run to the cursor; Esc breaks in), with the registers and the stack beside the code: what each run changed is tinted, and [ and ] show a caller’s frame with the registers recovered for it. With a module’s private PDB, each source line is above the instructions compiled from it, as in WinDbg’s mixed mode. See the browser.

  • In Tern, the browser reads memory as a type: t shows nt!_EPROCESS, or any type in a loaded PDB, in dt’s columns, with nested structures opening in place, Enter following a pointer as its type, and a list link to the next record, so ActiveProcessLinks walks the process list one Enter at a time. e writes what is under the cursor, an instruction’s bytes, a byte, a pointer or a field, down to a single bit of a flags word.

  • The MCP server pages results over about 24,000 characters, such as x nt!*, and the new output tool reads the rest or searches it without running the command again. See long results.

  • --sympath-append <directory> adds local PDBs, such as a driver’s build output, to the symbol path from the start, as plain files or in symbol-store layout.

Changed

  • Breaking: In the SDK, Debugger.notices() returns Notice records with a level ("info" or "warning") and the text, instead of strings.

  • Breaking: In the SDK, a BlackboxStream of the triage report has a summary of what it holds, its reason is None when it decodes, and present is a plain bool; available and parsed, which were always False, are gone (a record decodes when summary is set).

  • Breaking: A field that a PDB declares int or unsigned int has the type INT or UINT, instead of LONG or ULONG, in the SDK’s types, dt and the DAP variables.

  • Notices say what they are: status lines, such as a background symbol fetch finishing, print as note:, and only something that went wrong, such as a breakpoint that failed to re-arm, as warning:, in the REPL, over MCP and on the gdbserver console. DAP shows warnings as important output.

  • A command that fails ends its line, as in WinDbg, and names the commands that did not run, so bp ...; g no longer resumes the guest after a failed breakpoint.

  • Over MCP, and in the SDK with a time limit, a command that needs a halted target fails at once while the target runs with nothing set to stop it (no breakpoint or sxe ld), and a plain g then resumes without waiting out the time limit.

  • The MCP server marks a result as an error (isError) when any command on its line reported one.

  • The MCP server draws stops compactly: a step on the same thread shows the changed registers and the next instructions, about 100 tokens instead of 350. See how stops look.

  • $proc, $thread, $kthread, $teb and $peb are typed pointers (nt!_EPROCESS * and so on), as in WinDbg’s C++ expressions, so ? @$proc->UniqueProcessId reads the field, and ? shows them with their type.

  • !irp shows every stack location, as WinDbg does: each driver’s major and minor function, device and file, the completion routine with when it runs and whether the driver returned pending, and its arguments, the current location marked. !irp <address> 1 adds the IRP’s status, requestor mode and user buffers. In the SDK, Irp.stack lists the locations, which gain flags, control, arguments and minor_function_name.

Fixed

  • Detaching from KD no longer leaves the guest hanging, for more than a minute, at its next driver load or debug print, waiting for a debugger it believed was still attached. This covers quitting the REPL as well as closing an MCP, SDK or DAP session, and a detach with breakpoints set or the target halted.

  • With the gdb backend, a breakpoint hit that ntoseye passes over itself (another process’s under /p, a pass count, a false condition) no longer leaves the guest frozen between MCP, SDK or DAP calls while the status says it runs.

  • bp, bu and g <address> refuse an address inside an instruction, which corrupted it and could crash the guest, and name that instruction; where ntoseye cannot tell, they warn, and /a skips the check. See where a code breakpoint can go.

  • bp <file>:<line> sets a source breakpoint, as bu does, instead of failing.

  • ba /p <pid> e1 user32!PeekMessageW resolves the symbol in that process, as bp /p does, without .process /p first.

  • break on a halted target only says so, so break; bp ...; g works in either state.

  • r rcx, rdx, r8 shows those registers on one line, as in WinDbg, instead of its usage.

  • An address in a module without loaded symbols reads module+offset, as in WinDbg, in ln, callbacks, !drvobj, work items and MSR values.

  • !process shows the handle count, times, pool quota and working set on recent Windows 11 builds such as 26200, instead of -.

  • Messages name a command as you typed it. Over MCP and the SDK, an unknown command points to help, ?? points to dx and ?, and a notice raised by several background symbol fetches shows once.

  • The MCP command tool no longer advertises a format=json argument it does not take, and the tools carry MCP annotations (read-only, destructive, idempotent) for clients’ permission prompts.

  • --pdb-server given both before and after a subcommand uses every server, not only those after it.

  • .reload /f and .reload /v work, as in WinDbg, instead of looking for a module named /f. /n reloads only the kernel’s modules and /user only the selected process’s, and the module can be a pattern such as vio*.

  • Opening a minidump loads its drivers’ symbols, as opening a kernel dump does, so x, dt and the !wdfkd commands find a driver’s symbols without .reload first.

  • In Tern, a completion list of more than 100 entries, such as Tab on an empty prompt, ends in a row that says how many more there are and opens the palette on Enter, instead of stopping at !timer as if that were all.

  • In the browser’s go-to field, typing a number, or past the end of a name such as the ) of poi(nt!PsInitialSystemProcess), no longer opens a list of symbols that Enter would take instead.

  • WPP messages in !wdfkd.wdflogdump and !wmitrace.logdump show list values and status codes as WinDbg does: 0x00000002(DPC) instead of DPC, STATUS_SUCCESS instead of 0x0(STATUS_SUCCESS), an unknown status as NTSTATUS=C0DE0001, and an HRESULT by name, such as S_OK or the Win32 error it wraps.

  • !chkimg nt no longer reports 2 mismatched bytes in nt!KiSystemStartup on recent Windows 11 builds such as 26200, where the kernel points a lea at the CFG dispatch routine for the CPU at boot. A change that points it anywhere else is still reported.

v0.47.0 (2026-10-07)

ntoseye now draws its REPL natively in Tern, Stencil’s terminal (experimental).

Added

  • In Tern, Stencil’s terminal, the REPL draws its results natively (experimental): a stop is a card that names why it stopped in a chip and holds the thread, the registers folded, the code at the stop and the stack, and a bugcheck and !analyze are red cards; .trap is a card with its registers and the kind of entry that built it; k, lm, !process, ps, bl, ~, x, !vad, vmmap, !pte, vars and the memory dumps (db, dd, dq, dqs, …) are tables; .help <command> is a card; dt, wt and !hvpartitions are trees that fold; r, u and uf use Tern’s colors; ls, lsa and a stop at a source line show the source highlighted with its line marked; and a timer shows how long g has run, and long tasks such as downloading and indexing symbols and .dump show a progress bar. The prompt is Tern’s own input field: Tab’s completions narrow in a popup as you type, the line is colored as it is typed, Ctrl+Z undoes, and a paste becomes one line of commands. Alt+P opens a palette that searches the commands and recent lines, the symbols, the types and the processes, Ctrl+R opens it on the earlier lines, and it puts the choice in the prompt. Other terminals, captured output and .logopen transcripts keep the text, TERN_TSP=0 turns it off, and a Tern too old to draw the views gets text with a warning saying so (details).

  • After a stop on the same thread as the one before, the stop display marks the registers that changed since: yellow in the register grid, and in Tern the folded registers name them (registers rsp rip changed) and show their values in amber.

  • display <expression> shows the expression’s value at the end of every stop, marked when it changed since the last stop, as gdb’s display does; display alone lists the displays and undisplay removes them. In Tern they are a table in the stop card.

  • In Tern (experimental), browse or F2 at the prompt opens a full-screen code and memory browser. It pages through disassembly, and through memory as a hex view with a byte cursor, bytes colored by kind and an inspector beside it of the values at the cursor, or as pointers with their symbols. Enter follows branches, [rip+…] operands and pointers and Backspace goes back, g goes to an expression with completions, / finds text, bytes or a pointer, and b sets or clears breakpoints in code, only where decoding from the function’s start confirms an instruction begins, and write watchpoints in memory.

Fixed

  • When its terminal goes away (a closed pane or a dropped ssh session), the REPL now removes its breakpoints, leaves the guest running and exits, as q does. It used to spin a CPU core at its prompt and keep the guest halted under the debugger until it was killed.

v0.46.0 (2026-10-05)

ntoseye can now debug inside a Windows Sandbox or Hyper-V VM on Intel hosts, not only read it: break on the guest’s code and data, step its threads, and change its memory and registers.

Added

  • Breakpoints and steps in a Windows Sandbox or Hyper-V VM (experimental, gdb backend): ba in a .partition view sets a hardware breakpoint or data watch that stops only on that guest’s VPs, /c in the view names one of them, and its /p, /t and condition read that guest. g from the view runs the target, and the hit shows the guest’s view on the VP that hit it. t, p and gu there step the guest’s thread, and g <address> runs to an address in the guest. eb, ed and the other writes there change the guest’s memory, and r changes the registers of a VP that a vCPU runs at the stop, such as one that hit a breakpoint. In the SDK, breakpoints.add(..., hardware=True), step(), step_over(), step_out() and run_to() after select_partition() do the same, and Breakpoint.partition names the guest. See https://ntoseye.com/vbs/guest-partitions/#breakpoints-in-a-guest-partition.

  • lm a <address> shows only the module that contains an address, and finds a kernel module for a kernel address even while a process is selected, as in WinDbg.

Fixed

  • !dlls, lm, !vad and the SDK’s Process.modules name a user-mode module whose loader entry’s name is paged out, instead of showing <unknown>: the name comes from the file that the image’s VAD maps. On a desktop guest, this was about 8% of the user-mode modules.

v0.45.0 (2026-10-03)

ntoseye can now debug the Windows hypervisor itself on Intel hosts. It can walk hypervisor partitions and virtual processors, inspect and disassemble guest memory, including WSL2, decode hypercalls and break on them based on the caller, and unwind hypervisor stacks. Kernel module unloads can now stop the debugger too, just like module loads.

Added

  • sxe/sxn/sxd/sxi ud[:<module>] stop on, report, or ignore kernel module unloads the way ld handles loads, with -c to run commands at the stop; the stop comes after the driver’s unload routine, while the module is still listed with its symbols. The SDK has Exceptions.module_events and Stop.ModuleUnload; DAP reports the stop reason module unload.

  • ~ accepts the vCPU id it lists in place of a processor number (~p01.03s, ~p01.03k, ~p01.03r), ignoring case.

  • Registers.get(name, default=None) returns a register’s value, or default when the register file (for example an unwound frame) does not hold it.

  • DisassembledInstruction has length, mnemonic and operands; each Operand describes a register, memory, immediate or branch operand, so scripts no longer need to parse asm.

  • !hvpartitions shows the Windows hypervisor’s partitions as a tree with their privileges and each VP’s processor, VTL, where it left off and its last exit; !hvvps lists a partition’s VPs and the processors that run them. ~, the stop line and the MCP trailer (runs partition 0x4 VP 2) name a vCPU that runs a guest partition (Hyper-V VM, WSL2, Sandbox) as partition 0x4 VP 2; the SDK’s run status has it as running_vp. The SDK has dbg.hypervisor_partitions() and VirtualProcessor.processors. Hypervisor commands need the memory or gdb backend, or kd/kdnet with host memory, and say so otherwise.

  • !hvept <gpa> (or -v <address> for a root virtual address) walks each VTL’s extended page tables and shows the host address, access, page size and memory type; !hveptdiff lists the guest physical ranges VTL0 and VTL1 map differently. The SDK has HypervisorVtl.translate() and VirtualProcessor.ept_differences().

  • !hvvmcs [-msr|-io] shows every field of a VTL’s Enlightened VMCS, the MSRs it intercepts or passes (named, e.g. IA32_EFER), and its intercepted I/O ports. The SDK has HypervisorVtl.vmcs_fields(), msr_intercepts() and io_intercepts().

  • !hvd reads and !hvu disassembles a guest partition’s memory, virtual (4-level long-mode guests) or with -p physical. Like !hvept, !hveptdiff and !hvvmcs, they default to the VP the current processor runs. The SDK has HypervisorVtl.read(), translate_virtual() and disassemble().

  • !hvcalls lists the hypervisor’s hypercall table with TLFS names, rep/variable-header flags, input/output sizes and handlers (-a includes unimplemented codes); hv! now has names for the hypercall handlers and hv!VmExitEntry, usable in k, u, ln, x and expressions. The SDK has dbg.hypercalls().

  • A saved VTL state shows the VM exit’s qualification, interruption info and instruction length, and the guest’s general-purpose registers recovered from the hypervisor’s exit entry code, which r, expressions and stacks use. A state that may describe the previous exit is marked “(may be one exit behind)” and is not selected automatically; a hardware breakpoint on hv!VmExitEntry stops with a current state. The SDK has SavedVtlState.general_registers and may_be_stale.

  • At a hypervisor stop, the stop header, ~ and .vtlcxr name the guest VP the processor serves and decode the hypercall being handled (code, TLFS name, flags); !hvcall shows its full input, including XMM fast calls, rep lists and extended GVA flush ranges with their addresses, page counts and page sizes. The hypercall page shows as module hvcall (hvcall!Hypercall, hvcall!VtlReturn64). MCP, DAP thread names and the SDK (Cpu.serving, SavedVtlState.hypercall) show the same.

  • !hvbp <call> [partition [vp]] stops on a hypercall only from the given caller; its condition is evaluated on the caller’s registers and reads the caller’s memory, so $pqwo(rdx) tests a slow call’s input. The SDK has Breakpoints.add_hypercall(), Breakpoint.hypercall, and Cpu.hypercall_caller(), which gives a when= callback the caller’s registers, decoded call and memory.

  • !hvexit <reason> [partition [vp]] stops on a VM exit by its reason (cpuid, rdmsr, wrmsr, ept_violation, or the number), only from the given caller; its condition sees the caller’s registers at the exit, so !hvexit wrmsr if @rcx==0x6e0 stops on writes of IA32_TSC_DEADLINE. The guest runs far slower while it is set, as every exit is checked, so a guest partition’s VPs barely run and a filter on one rarely stops; !hvbp stops on their hypercalls. The SDK has Breakpoints.add_exit() and Breakpoint.vm_exit.

  • !hvr [partition vp [vtl]] shows the registers of any hypervisor VP, such as a WSL2 VP blocked in HLT that no processor runs: those of the vCPU that runs it, of the exit a vCPU handles for it, or that it saved at its last exit. The SDK has VirtualProcessor.registers().

  • .partition <id> inspects the Windows guest of a hypervisor partition, such as a Windows Sandbox, in place of the target, read-only: lm, !process, dt, u and k read its kernel with its symbols, and its VPs are the threads. .partition 1 returns to the target, and a partition that runs no Windows kernel, such as WSL2’s, is refused with that reason. The SDK has Debugger.select_partition() and Debugger.partition; MCP’s trailer says which partition is inspected.

  • Hypervisor stacks unwind from the hypervisor’s own unwind data when a copy of the running hvix64.exe is in the symbol cache or a local store (.fetchimage /f <file>, Symbols.import_image() add one), and otherwise from function prologs, marked [prolog]. The few functions whose unwind data leaves out their stack allocation, such as the external-interrupt exit handler from build 22621 on, unwind from their prologs too. The SDK’s Cpu.backtrace() walks a processor’s own stack, the hypervisor’s when it is halted there, and with vtl= from where a VTL left off as the hypervisor saved it.

  • .vtlcxr 1 selects the state the hypervisor saved for VTL1, so k, r, u and expressions inspect the secure kernel where it left off (read-only); .vtlcxr returns to VTL0.

  • In DAP, a vCPU halted in the hypervisor shows the hypervisor’s own frames first, then a label frame, then the saved VTL state’s frames.

Changed

  • Breaking: Exceptions.module_loads is replaced by Exceptions.module_events, which lists the unload filters (sx* ud) along with the load filters.

  • Breaking: MCP’s command tool no longer takes format, and rejects a call that passes it: it returns the REPL’s text with its [target ...] trailer. For typed results, use the Python SDK.

  • The hypervisor image is named hv as in WinDbg (hv+0x… instead of hvix64+0x…), and expressions accept hv in the hypervisor’s context.

  • On the gdb backend, software breakpoints in user space are refused (use ba e1); single steps into user space use debug-register sites, while a run to a user-space address (p over a call, gu) ends with an error. Previously stray int3s could be left in shared user code.

  • Software breakpoints in the Windows hypervisor’s code are refused with a pointer to ba e1, instead of left pending forever; NT breakpoints can still be set from the hypervisor’s context.

  • On the gdb backend, a breakpoint whose condition or filter declines many hits a second slows the target much less: a declined hit no longer rewrites the site journal on disk.

  • On the gdb backend under VBS, single steps (t, step(), and the walks built on them, such as wt and trace_calls) are about 15% faster and use less host CPU: replies from the stub are read buffered, and a step no longer selects its vCPU again after the vCPU’s own stop.

  • u without an address works as in WinDbg: it starts at the instruction pointer, and continues after the previous u until the target runs or another frame, thread, or process is selected.

  • !peb, !teb, !gle and !dlls no longer need .process: without one they decode the current thread’s process, as in WinDbg.

Fixed

  • t after ~Ns on kd/kdnet steps processor N instead of leaving it unmoved, and breakpoints on the stopped processor keep hitting afterwards; on ARM64 targets, stepping another processor is refused instead of hanging.

  • Ctrl+C, a DAP pause/disconnect, or a server termination signal now break in on a step that never stops, instead of the session hanging until the transport times out; walks (ta, pa, wt, step(until=)) end on the first Ctrl+C.

  • A walk (step(until=), step_over(until=), run_to(step=)) that its timeout= or Ctrl+C cuts short now returns a Stop.Interrupt, as run_to() and step_out() do, instead of a Stop.Step. A Stop.Step had seemed to say the walk ended on an instruction in NT even when it was broken into in the Windows hypervisor, where the next step was refused.

  • Ctrl+C in the REPL now stops the target when a breakpoint whose hits are declined (condition, /t filter, other process) fires constantly.

  • REPL errors from g, t, r, ~ and .thread show their message instead of an internal form such as DebugInfo("…"), and bp or ba on a backend that cannot set them names the backend instead of “the current backend does not support this”.

  • In DAP, a Debug Console command after one that moved the context (.thread, .cxr, !thread) runs instead of failing with “stale frame id” until the client walks the stack again.

  • Code that profile-guided optimization split off from its function, far from every symbol, is named after that function through its chained unwind data (nt!IopXxxControlFile+0x22bddf) in stacks, disassembly, ln and the SDK’s symbols.nearest(), instead of nt+0xb1552f or “no symbol found”.

  • wt, p, gu and the SDK’s step_over/step_out no longer follow the wrong thread, wait forever for a thread that exited, or crawl under load on code every thread runs; a walk whose thread exits ends with an error.

  • A gdbserver step or continue that cannot start now reports SIGINT, so gdb’s next/step no longer loop.

  • On the gdb backend, a bp on nt!DbgLoadImageSymbols (or the unload functions) now stops when no sx filter surfaces the event.

  • On the gdb backend, the data address QEMU sends with a vCPU’s next stop when that vCPU’s watchpoint hit lost the race to another vCPU’s stop no longer misclassifies the stop: a stop on an execute breakpoint is no longer mistaken for a plain stop, and a stop on a breakpoint is no longer reported as a data watchpoint’s hit.

  • On the gdb backend under VBS, a step or a resume from a breakpoint no longer gives up with “letting every vCPU run for 1s did not free it” when it should not. The debugger’s own work between the vCPUs’ runs counted against that second, and the first time a session finds a vCPU in the Windows hypervisor that work takes over half a second. And a vCPU waiting in an interrupt handler failed the step whenever the last run caught the handler in a call into the hypervisor, such as a spin loop’s long-wait notification; the step now ends in the handler, as it does when the last run finds the handler in NT.

  • On the gdb backend under VBS, a data watchpoint’s hit that another vCPU makes while a step or a resume from a breakpoint lets the other vCPUs run is no longer lost: a step ends on it (step() returns that stop), and a resume reports it as its stop.

  • On the gdb backend under VBS, a step or a resume from a breakpoint that waits on the other vCPUs no longer lets them run only a few milliseconds at a time when one of them is stopped on a breakpoint: that vCPU ended every run at once, and is now held for every other run.

  • On the gdb backend under VBS, a step no longer ends in a guest partition’s code (WSL2, a Hyper-V VM) when the Windows hypervisor runs that partition’s VP on the stepped vCPU’s processor while NT waits there, after which the next step failed with “Bad virtual address”. The step waits for NT to run there again, and a step of a vCPU that runs a guest partition’s VP is refused, naming the VP.

  • Breakpoint.delete() no longer raises for a breakpoint that is already gone (such as a fired one-shot), and a stale handle no longer deletes a newer breakpoint that reuses its id.

  • .thread on a thread whose vCPU is in the hypervisor selects where NT left off instead of the hypervisor’s registers.

  • .vtl 0 after .vtl 1 at a hypervisor stop returns to the stop’s view instead of the hypervisor’s registers.

  • VTL1’s saved state is listed even before the secure kernel was looked up.

  • A saved VTL state is no longer reported as current after the processor has switched to another VTL or VP.

  • k at a hypervisor stop no longer repeats addresses or lists NT addresses as hypervisor frames; scan frames are always marked [scan].