qiuq86 / simuino

Automatically exported from code.google.com/p/simuino
0 stars 0 forks source link

Exception unhandled / buffer overrun on serialOut screen #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Write a program that displays Serial.print("this is going to crash");
2. Run that piece of code ~5 times. 
3. Simuino buffer overflows and falls over

What is the expected output? What do you see instead?
Depends on how you want to handle this issue. Not sure how Arduino would handle 
in real environment. A clean error should be presented if buffer exceeded for 
output within Simuino, alternatively handle as would the hardware it is 
emulating with an output to reflect and stop execution. 

What version of the product are you using? On what operating system?
Simuino_v011

Please provide any additional information below.

Original issue reported on code.google.com by karl.but...@2ergo.com on 8 Dec 2011 at 3:34

GoogleCodeExporter commented 9 years ago
Notably, 

The problem reflects Serial.print("XXXXXXXX") overflows
(( Serial.println("XXXXXXXXXXXX") has the correct desired results. )) 

Original comment by karl.but...@2ergo.com on 8 Dec 2011 at 3:36

GoogleCodeExporter commented 9 years ago
Fixed in version 0.1.2

Original comment by benny.sa...@gmail.com on 11 Dec 2011 at 6:31