-
Notifications
You must be signed in to change notification settings - Fork 45
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
Input event sequence #187
Input event sequence #187
Conversation
…ilder Use overloads of one function instead of a different function name for each event.
Use MPark.Variant to make it work with older compilers.
…nd metadata of the events. This required the introduction of a few new events to avoid having events creating multiple edges/nodes.
86f85db
to
67b69c3
Compare
docs/about/changelog.md
Outdated
* When a template is instantiated in the environment (eg. by files included | ||
into the shell) and then an instantiation attempt of the same template | ||
with the same arguments is debugged with mdb, only the memoization is | ||
shown and the original instantiation is not displayed in the debugger. |
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.
This might be a usability regression. I think it's common to include a whole cpp into a metashell session which already instantiates the problematic template, which is then later debugged. Can we provide some kind of workaround proposal for the user if this is the case?
One workaround could be to debug the whole environment, and inserting a breakpoint for the template in question. This approach could become difficult if the original name of the type is hidden under multiple layers of typedefs and such and specifying the breakpoint regex is impossible.
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.
I have restored the old behaviour by adding filter_replay_instantiations
.
aad566a
to
d27918a
Compare
688c315
to
0268318
Compare
…e graph built from it
Also apart from template instantiation and memoization events, all template events are made unique nodes of the metaprogram graph to avoid moving events to the wrong parents (or removing them from the graph) because of different events getting merged due to having the same name, point of instantiation and source location.
8129865
to
47812b8
Compare
No description provided.