Add output selection support for ethdebug#15293
Add output selection support for ethdebug#15293aarlt wants to merge 2 commits intoenable_debug_info_ethdebugfrom
Conversation
clonker
left a comment
There was a problem hiding this comment.
Looks good to me. I was wondering if it would also be an option to throw in case the output is requested (together with the appropriate debug-info flag) as you're essentially just swallowing it now which might confuse someone unsuspecting. But then again it's not listed in the options so I think it's fine this way as well.
|
I will still add the standard-json import part to this PR. This part I didn't pushed yet, because I saw that I need to add additional tests to verify validation logic. I will add this later today. |
| m_assemblyStack->runtimeObject(contractName).functionDebugData | ||
| ); | ||
| if (m_options.compiler.combinedJsonRequests->ethdebug) | ||
| contractData[g_strEthdebug] = Json::object(); |
There was a problem hiding this comment.
Combined JSON has been deprecated for ages now (#10278) and we're likely to drop it in the next breaking release. It does not make sense add more things to it at this point.
This should be standalone compiler output instead.
5ef3239 to
77c474a
Compare
ec729b3 to
ee2bc12
Compare
ee2bc12 to
9772d20
Compare
|
Replaced by #15289. |
Depends on #15289.