Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

arrumei a impressao da exception

  • Loading branch information...
commit 42b4c3b9d893582592431bad64abee990ed85352 1 parent c3d397c
@lquatrin lquatrin authored
Showing with 10 additions and 5 deletions.
  1. +10 −5 src/interface.cpp
View
15 src/interface.cpp
@@ -170,19 +170,24 @@ void printTable(StackFrame sFrame)
{
Handler hl = sFrame.dataE[i].m_Handler;
std::cout << " +" << printNome(sFrame.dataE[i].m_LabelID)<<"+-----+"<< std::endl;
- std::cout << " +return address-------+-----+"<< std::endl;
+ //std::cout << " +return address-------+-----+"<< std::endl;
+ std::cout << " +---------------------+-----+"<< std::endl;
std::cout << printHexa(enderecoAtual) << " |"
- << printNome(printNome(printHexa(sFrame.dataE[i].m_Handler.m_ReturnAddress)))
+ //<< printNome(printHexa(sFrame.dataE[i].m_Handler.m_ReturnAddress))
+ << printNome("return address")
<< "|" << printHexa(4)
<< "|"<< std::endl;
enderecoAtual += 4;
- std::cout << " +Caller's EBP---------+-----+"<< std::endl;
+ //std::cout << " +Caller's EBP---------+-----+"<< std::endl;
+ std::cout << " +---------------------+-----+"<< std::endl;
std::cout << printHexa(enderecoAtual) << " |"
- << printNome(printNome(printHexa(sFrame.dataE[i].m_Handler.m_CallersBasePtr)))
+ //<< printNome(printHexa(sFrame.dataE[i].m_Handler.m_CallersBasePtr))
+ << printNome("Caller's EBP")
<< "|" << printHexa(4)
<< "|"<< std::endl;
enderecoAtual += 4;
- std::cout << " +LocalVariableHandler-+-----+"<< std::endl;
+ //std::cout << " +LocalVariableHandler-+-----+"<< std::endl;
+ std::cout << " +---------------------+-----+"<< std::endl;
for(int j = 0 ; j < (int)sFrame.dataE[i].m_Handler.m_Locals.size() ; j ++)
{
int sizeDoItem = (int)std::get<1> (sFrame.dataE[i].m_Handler.m_Locals[j]);
Please sign in to comment.
Something went wrong with that request. Please try again.