Skip to content

Conversation

@WardenGnaw
Copy link
Member

@WardenGnaw WardenGnaw commented Oct 15, 2020

For cppdbg, sourceFileMap can be used for binding breakpoints.
If keeping with the old format "<source-path>":"<target-path>", it will
always be used for breakpoints.

If you use the new:

"<compile-path>" : {
   "editorPath": "<target-path>",
   "useForBreakpoints": true
}

The sourceMap will only be used for frame enumeration.

Descriptions are from:
https://github.com/microsoft/MIEngine/blob/cc361a883dbb7e61de78054f838f2ea9d9f5e065/src/MICore/LaunchOptions.xsd#L603-L626

@WardenGnaw WardenGnaw added debugger enhancement Improvement to an existing feature labels Oct 15, 2020
@WardenGnaw WardenGnaw self-assigned this Oct 15, 2020
For cppdbg, sourceFileMap can be used for binding breakpoints.
If keeping with the old format "<source-path>":"<target-path>", it will
always be used for breakpoints.

If you use the new:
"<compile-path>" : {
   "editorPath": "<target-path>",
   "useForBreakpoints": true
}

The sourceMap will only be used for frame enumeration.
@WardenGnaw WardenGnaw force-pushed the dev/waan/updateSourceFileMap branch from 0561c6e to 3dcd805 Compare October 19, 2020 23:16
@WardenGnaw WardenGnaw marked this pull request as ready for review October 19, 2020 23:16
@sean-mcmanus
Copy link
Contributor

@WardenGnaw Is this supposed to be checked in for 1.1.0-insiders3? It's seemed to be mentioned in the changelog.

@WardenGnaw
Copy link
Member Author

WardenGnaw commented Oct 22, 2020

Yep. This will need to be checked in or the new schema type will not launch the debugger since it currently assumes sourceFileMap's value is always a string

@WardenGnaw WardenGnaw merged commit 839eefa into master Oct 22, 2020
@bobbrow bobbrow deleted the dev/waan/updateSourceFileMap branch January 5, 2021 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debugger enhancement Improvement to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants