-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Debugger] Make source_file
optional + make sure debugger controller exists in symbols
#3916
Conversation
@@ -305,6 +305,9 @@ jobs: | |||
- name: Run DEBUGGER_EXCEPTION_REPLAY scenario | |||
if: always() && steps.build.outcome == 'success' && contains(inputs.scenarios, '"DEBUGGER_EXCEPTION_REPLAY"') | |||
run: ./run.sh DEBUGGER_EXCEPTION_REPLAY | |||
- name: Run DEBUGGER_SYMDB scenario |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we forget to add it ? Oo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we forgot to add it before 😞
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two small details
self._assert_debugger_controller_exists() | ||
|
||
def _assert_debugger_controller_exists(self): | ||
pattern = r"[Dd]ebugger[_]?[Cc]ontroller" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there is only one char in a char set, you can directly use the cahr
pattern = r"[Dd]ebugger[_]?[Cc]ontroller" | |
pattern = r"[Dd]ebugger_?[Cc]ontroller" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Underscore is optional. In python it's called debugger_controller, in java and dotnet - DebuggerController
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, the ?
just after the _
will do the trick : https://regex101.com/r/J1P4r6/1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Though, it's just a detail, feel free to ignore 😄
Co-authored-by: Charles de Beauchesne <[email protected]>
Motivation
Make
source_file
optional + make sure debugger controller exists in symbolsChanges
Workflow
codeowners
file quickly.🚀 Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist
[<language>]
, double-check that only<language>
is impacted by the changebuild-XXX-image
label is present