Skip to content

Can I enable debugging mid-simulation? #1598

Discussion options

You must be logged in to vote

I dug around in the m5 source code and found the code where the debug flags are parsed from the command line.
I tried m5.debug.flags['CustomFlag'].enable() and it works! I'm unsure if that's the proper way to do it, but if there's a better way, I'm curious to know.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@powerjg
Comment options

Answer selected by powerjg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants