Bug? [SOLVED] B4A 8.30 Beta - Error compiling in debug mode of Resumable Sub

Star-Dust

Expert
Licensed User
Longtime User
I'm happy to report that I found a bugs in the new version B4A 8.30 Beta.

I attach the source code of my new library, which works perfectly and in release mode, but that reports an error in the version of Debug.
Try it to believe ...

Debug
upload_2018-5-29_23-3-20.png

Release
1.gif
 

Attachments

  • RadarProgress.zip
    10.6 KB · Views: 229

f0raster0

Well-Known Member
Licensed User
Longtime User
it works fine here, in debug and release mode
win7, android 4.3 Samsung S3
win7, android 5.12 (Model Number K107)

Java\jdk1.8.0_151\bin\javac.exe
Android\platforms\android-27\android.jar
 
Last edited:

asales

Expert
Licensed User
Longtime User
No problem here (test in debug mode):
- win10, Android 6.0, Moto G2
- win10, Android 7.0, Moto G5 Plus
 

Star-Dust

Expert
Licensed User
Longtime User
:( did you use all B4A 8.30 beta?
 

Star-Dust

Expert
Licensed User
Longtime User
It seems related to the Sleep command. If I remove it, it does not generate an error

It tells me that it does not recognize the parent variable at this point
B4X:
public void  _ball(int _value) throws Exception{
try {
    Debug.PushSubsStack("Ball (radarprogress) ","radarprogress",2,ba,parent,63);
ResumableSub_Ball rsub = new ResumableSub_Ball(this,_value);
rsub.resume(ba, null);
}
catch (Exception e) {
      throw Debug.ErrorCaught(e);
    } 
finally {
      Debug.PopSubsStack();
    }}
 

Star-Dust

Expert
Licensed User
Longtime User
Compiles fine here. Looks very nice!
BTW, why aren't you setting targetSdkVersion to 26?

I found the cause of this error. You are using the legacy debugger. This is a mistake. There is no good reason to use it. I will check why it fails.
I do not use it, I know that from problems, it may be that installing 8.30 has ambled my settings?

Now it works properly, thanks Erel
 
Top