[llvm] [dexter] Correctly identify stop-reason while driving VisualStudio (PR #94754)

Orlando Cazalet-Hyams via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 7 07:00:30 PDT 2024


================
@@ -307,6 +307,30 @@ def set_current_stack_frame(self, idx: int = 0):
                 )
             )
 
+    def _translate_stop_reason(self, reason):
+        # https://learn.microsoft.com/en-us/dotnet/api/envdte.dbgeventreason?view=visualstudiosdk-2022
+        if reason == 1:  # dbgEventReasonNone
----------------
OCHyams wrote:

I can't find a way to get them out of the DTE interface. I could name the constants myself, but I'm not sure that really adds anything over what I've got here since they're only used in this one place. wdyt?

https://github.com/llvm/llvm-project/pull/94754


More information about the llvm-commits mailing list