Whenever I try to debug code, simulator automatically closed after sometime. I am not able to debug code on proteus. I don't have license key. I am using free version
That's a connection error... Show me you circuit in proteus.... I needed 4 pullups on key port as the port needs to see 5v on each row and 0v if a key is pressed..
Proteus Is not much good if your using the free copy you be way ahead to buy a handful of parts and use the real thing plus learn how to use your IDE it have a sim built into it.