Skip to content

Commit 9d140db

Browse files
authored
Merge pull request #48 from intersystems/FixPauseMonitor
Fix pause monitor and Clear
2 parents 41a87e2 + 2ecde00 commit 9d140db

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [4.0.1] - 2024-08-09
8+
## [4.0.1] - Unreleased
99

1010
### Fixed
1111
- #45: Fixed Python line 0 tracking for 2024.2
1212
- #46: Fix for bug caused by UpdateComplexity calling GetCurrentByName unnecessarily and causing dependency issues
1313
- #47: Fixed mapping issue caused by empty lines at top of Python method not showing up in compiled Python
14+
- #48: When the Line-By-Line Monitor resumes after pausing, resume the Python tracer too
1415

1516
## [4.0.0] - 2024-08-01
1617

cls/TestCoverage/Utils.cls

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Include %occInclude
1+
Include (%occInclude, TestCoverage)
22

33
IncludeGenerator TestCoverage
44

@@ -18,6 +18,7 @@ ClassMethod Clear() As %Status
1818
Set tClasses("TestCoverage.Data.CodeUnit") = ""
1919
Set tClasses("TestCoverage.Data.Coverage") = ""
2020
Set tClasses("TestCoverage.Data.Run") = ""
21+
kill $$$PyMonitorResults
2122

2223
Set tClass = ""
2324
For {

cls/TestCoverage/Utils/LineByLineMonitor.cls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ Method StartWithScope(pRoutineList As %List, pPyClasses As %List, pMetricList As
123123
$$$ThrowOnError(tSC)
124124
If ..Paused {
125125
$$$ThrowOnError(..Resume())
126+
Do ..PyStartWithScope(pPyClasses)
126127
}
127128
}
128129
} Catch e {

0 commit comments

Comments
 (0)