Bug? Error after update to 5.50 from 5.20

aviario

Active Member
Licensed User
Longtime User
Hello,

I've a sub method, with 1093 lines, and i get an error :
Compiling debugger engine code. Error
B4A line: 1093
End Sub
javac 1.6.0_25
shell\src\mijuez\mio\ponplanilla_subs_0.java:3758: code too large for try statement
catch (Exception e) {

In 5.20 Works fine.
Any solution?

PonPlanilla.pdf is all code.

Thanks
 

Attachments

  • error.jpg
    error.jpg
    41.2 KB · Views: 192
  • PonPlanilla.pdf
    171.2 KB · Views: 192

manolitoGnet

Member
Licensed User
Longtime User
Hi,

This can be related...

When compiling (Release or Release obfuscated) it works as in previous versions, but compiling Debug throw this:

B4A version: 5.50
Parsing code. (0.10s)
Compiling code. Error
Error compiling program.
Error description: Too many parameters.
Occurred on line: 265
Job1.PostString(URL1, "id_unico=" & id_unico)
Word: id_unico=

here the code:

261 Sub lee_datos
262 Dim Job1 As HttpJob
263
264 Job1.Initialize("Job1", Me)
265 Job1.PostString(URL1, "id_unico=" & id_unico)
266 End Sub

At this time with the recent 5.50 versión I'm unable to debug...

Tx
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
@manolitoGnet please start a new thread for this issue.

@aviario this error happens when the generated sub is too large. You can use the legacy debugger which you probably used before (it moved to Tools - IDE Options).

However a better solution is to refactor this sub and either load the data from a text file or split it into smaller subs.
 

aviario

Active Member
Licensed User
Longtime User
Ok, when i quit lines and i can quit that error i get this one:
Rapid Debugger failed to connect to device.
Thanks
 

Attachments

  • error.jpg
    error.jpg
    9.3 KB · Views: 175

aviario

Active Member
Licensed User
Longtime User
I created a Project with three button, i'm getting same error.

Thanks
 

Attachments

  • error.zip
    7.5 KB · Views: 175
Top