Skip to content

Commit

Permalink
Adjusted frame instruction pointer value to point on the currently ex…
Browse files Browse the repository at this point in the history
…ecuting instruction (fixes missing locals)
  • Loading branch information
WheretIB committed May 21, 2020
1 parent c6e2adf commit 8ada3e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
- Complex expression evaluation
- Support for relative Lua script source paths

### Changed

- Adjusted frame instruction pointer value to point on the currently executing instruction (fixes missing locals)

## [0.2.6] - 2020-05-21

### Changed
Expand Down
2 changes: 1 addition & 1 deletion LuaDkmDebuggerComponent/LocalComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ DkmStackWalkFrame[] IDkmCallStackFilter.FilterNextFrame(DkmStackContext stackCon
frameData.functionName = currFunctionName;

frameData.instructionLine = (int)currLine;
frameData.instructionPointer = (int)currInstructionPointer.Value;
frameData.instructionPointer = prevInstructionPointer;

frameData.source = sourceName;

Expand Down

0 comments on commit 8ada3e3

Please sign in to comment.