35
35
#include " lldb/Symbol/Function.h"
36
36
#include " lldb/Symbol/VariableList.h"
37
37
#include " lldb/Target/RegisterContext.h"
38
+ #include " lldb/Utility/LLDBLog.h"
38
39
#include " lldb/Utility/Log.h"
39
40
#include " lldb/Utility/OptionParsing.h"
40
41
#include " lldb/Utility/Timer.h"
@@ -924,7 +925,7 @@ void SwiftLanguageRuntimeImpl::ModulesDidLoad(const ModuleList &module_list) {
924
925
925
926
std::string
926
927
SwiftLanguageRuntimeImpl::GetObjectDescriptionExpr_Result (ValueObject &object) {
927
- Log *log (GetLog (LLDBLog::DataFormatters));
928
+ Log *log (GetLog (LLDBLog::DataFormatters | LLDBLog::Expressions ));
928
929
std::string expr_string
929
930
= llvm::formatv (" Swift._DebuggerSupport.stringForPrintObject({0})" ,
930
931
object.GetName ().GetCString ()).str ();
@@ -936,7 +937,7 @@ SwiftLanguageRuntimeImpl::GetObjectDescriptionExpr_Result(ValueObject &object) {
936
937
937
938
std::string
938
939
SwiftLanguageRuntimeImpl::GetObjectDescriptionExpr_Ref (ValueObject &object) {
939
- Log *log (GetLog (LLDBLog::DataFormatters));
940
+ Log *log (GetLog (LLDBLog::DataFormatters | LLDBLog::Expressions ));
940
941
941
942
StreamString expr_string;
942
943
std::string expr_str
@@ -960,7 +961,7 @@ std::string
960
961
SwiftLanguageRuntimeImpl::GetObjectDescriptionExpr_Copy (ValueObject &object,
961
962
lldb::addr_t ©_location)
962
963
{
963
- Log *log (GetLog (LLDBLog::DataFormatters));
964
+ Log *log (GetLog (LLDBLog::DataFormatters | LLDBLog::Expressions ));
964
965
965
966
ValueObjectSP static_sp (object.GetStaticValue ());
966
967
@@ -1028,7 +1029,7 @@ SwiftLanguageRuntimeImpl::RunObjectDescriptionExpr(ValueObject &object,
1028
1029
std::string &expr_string,
1029
1030
Stream &result)
1030
1031
{
1031
- Log *log (GetLog (LLDBLog::DataFormatters));
1032
+ Log *log (GetLog (LLDBLog::DataFormatters | LLDBLog::Expressions ));
1032
1033
ValueObjectSP result_sp;
1033
1034
EvaluateExpressionOptions eval_options;
1034
1035
eval_options.SetLanguage (lldb::eLanguageTypeSwift);
0 commit comments