Skip to main content
3 of 5
Rollback to Revision 1
Jim Green
  • 687
  • 1
  • 5
  • 14

how to debug contract in browser-solidity

contract users{
struct User{
    uint id;
    string str;
}
User [] public adds;
function del(){
    delete adds;
}
function delElem(uint i){
    delete adds[i];
}
function add(uint id,string cc){
    adds.push(User(id,cc));
}
function getLength()constant returns(uint){
    return adds.length;
}}

how to debug this contract in enter link description here, can breakpoint be valid?

Jim Green
  • 687
  • 1
  • 5
  • 14