| 135 | return ret; |
| 136 | } |
| 137 | std::vector<std::string> ShaderDebugger::GetCurrentFunctionLocals() |
| 138 | { |
| 139 | std::string curFunc = GetCurrentFunction(); |
| 140 | if (curFunc.size() == 0) |
| 141 | return std::vector<std::string>(); |
| 142 | return m_compiler->GetLocals(curFunc); |
| 143 | } |
| 144 | bv_variable* ShaderDebugger::GetLocalValue(const std::string& varname) |
| 145 | { |
| 146 | bv_scope* scope = m_stepper->scope; |