Debugger: Renaming a module correctly updates breakpoints now.
[DEVELOPMENT ENVIRONMENT] * BUG: Debugger: Renaming a module correctly updates breakpoints now.
This commit is contained in:
parent
31193668a9
commit
9969c3c528
2 changed files with 7 additions and 2 deletions
|
@ -1084,6 +1084,7 @@ Public Sub RefreshBreakpointView()
|
||||||
gvwBreakpoint.Columns[1].Width = -1
|
gvwBreakpoint.Columns[1].Width = -1
|
||||||
gvwBreakpoint.Columns[2].Width = -1
|
gvwBreakpoint.Columns[2].Width = -1
|
||||||
gvwBreakpoint.Refresh
|
gvwBreakpoint.Refresh
|
||||||
|
gvwBreakpoint_Click
|
||||||
|
|
||||||
End
|
End
|
||||||
|
|
||||||
|
|
|
@ -6382,6 +6382,7 @@ Private Sub RenamePaths(sOld As String, sNew As String)
|
||||||
Dim hForm As Object
|
Dim hForm As Object
|
||||||
Dim sCheck As String
|
Dim sCheck As String
|
||||||
Dim sNewFormPath As String
|
Dim sNewFormPath As String
|
||||||
|
Dim sExt As String
|
||||||
|
|
||||||
' Rename DoNotTranslate
|
' Rename DoNotTranslate
|
||||||
|
|
||||||
|
@ -6429,8 +6430,11 @@ Private Sub RenamePaths(sOld As String, sNew As String)
|
||||||
|
|
||||||
' Rename breakpoints
|
' Rename breakpoints
|
||||||
|
|
||||||
If IsSourcePath(sOld) And If File.Ext(sOld) = "class" Then
|
If IsSourcePath(sOld) Then
|
||||||
Design.RenameClass(File.BaseName(sOld), File.BaseName(sNew))
|
sExt = File.Ext(sOld)
|
||||||
|
If sExt = "class" Or If sExt = "module" Then
|
||||||
|
Design.RenameClass(File.BaseName(sOld), File.BaseName(sNew))
|
||||||
|
Endif
|
||||||
Endif
|
Endif
|
||||||
|
|
||||||
End
|
End
|
||||||
|
|
Loading…
Reference in a new issue