shanedell commented on code in PR #990:
URL: https://github.com/apache/daffodil-vscode/pull/990#discussion_r1521743124
##########
debugger/src/main/scala/org.apache.daffodil.debugger.dap/DAPodil.scala:
##########
@@ -748,11 +748,24 @@ object DAPodil extends IOApp {
copy(value = value + (uri.normalize -> lines))
def contains(location: Location): Boolean =
- value.exists {
- // format: off
- case (uri, lines) =>
- uri == location.uri && lines.exists(_ == location.line)
- // format: on
+ value.exists { case (uri, lines) =>
Review Comment:
So the line that may cause the issue is this:
```scala
URI.create(loc.uriString).normalize
```
Note: `loc` is of type
`org.apache.daffodil.lib.exceptions.SchemaFileLocation`
Whenever I get `loc.uriString` value it looks like
`file:/Users/user/path.file`. So it is a problem between the Extension and
Debugger starting the URI differently. Then for windows there is another is
issue where one URI is using uppercase and the other one is using lowercase for
the drive letter.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]