diff options
author | Greg Clayton <gclayton@apple.com> | 2010-09-18 04:06:15 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-09-18 04:06:15 +0000 |
commit | aa44805e19afee2e2796ad294bd77a5f952df5d3 (patch) | |
tree | 559001f4204af6cbdccd5be27ee3a23d8b234589 /source | |
parent | 1e30afd4c299debbd421add473668a0de580e94c (diff) | |
download | lldb-aa44805e19afee2e2796ad294bd77a5f952df5d3.tar.gz |
Added a better error message to the "frame variable" when you try to view
frame variables and are not stopped in a valid frame.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@114267 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source')
-rw-r--r-- | source/Commands/CommandObjectFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Commands/CommandObjectFrame.cpp b/source/Commands/CommandObjectFrame.cpp index 547acd679..a8835e725 100644 --- a/source/Commands/CommandObjectFrame.cpp +++ b/source/Commands/CommandObjectFrame.cpp @@ -442,7 +442,7 @@ public: ExecutionContext exe_ctx(m_interpreter.GetDebugger().GetExecutionContext()); if (exe_ctx.frame == NULL) { - result.AppendError ("invalid frame"); + result.AppendError ("you must be stopped in a valid stack frame to view frame variables."); result.SetStatus (eReturnStatusFailed); return false; } |