Bug? Application Running in debug mode stop

Swissmade

Well-Known Member
Licensed User
Longtime User
Hi all
When I debug and run a application, then when I go with the cursor over the List-name because I like to see what is in there, Debug stops running

List is initialize and not empty.
I see this in many applications so it is not only 1 application.
Maybe a small bug.

Thanks for answering
Roland
 

josejad

Expert
Licensed User
Longtime User
I see this in many applications so it is not only 1 application
Hi, can you upload an example, then? I think it will be more easy to check
There's no logs with the error?
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Easy

List Crash:
    Dim AudioList As List
    AudioList.Initialize 'Debug Stop when you go over the list even without data
B4J version 10.00
 

josejad

Expert
Licensed User
Longtime User
No errors?

1737709491125.png
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Hm but I don't use b4xpage because it is a Non-UI app just console.

There has to be something wrong create a new app and no crash

No List crash:
'Non-UI application (console / server application)
#Region Project Attributes
    #CommandLineArgs:
    #MergeLibraries: True
#End Region

Sub Process_Globals

End Sub

Sub AppStart (Args() As String)
    TestCrash
    StartMessageLoop
End Sub

Private Sub TestCrash
    Dim AudioList As List
    AudioList.Initialize 'No Crash
    Log("Hello world!!!")

End Sub

Maybe
 
Last edited:

josejad

Expert
Licensed User
Longtime User
but I don't use b4xpage because it is a Non-UI app just console
As you can see, it's not so easy... if you want to report a bug, please, give us more data.

Can you upload a project showing the problem?
Can you post the logs you get when your app crash?

Otherwise, I don't think anyone can help you.

1737709860123.png
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Found it I think I have to reinstall B4J again.

Thanks for helping out.

Happy to see that this is no Bug.
 

Swissmade

Well-Known Member
Licensed User
Longtime User
Issue is Solved but Reinstall B4J was not the issue.
I found out when I connect with B4J-Bridge to a Raspberry Pi then it is happening.
Wondering why.
 
Last edited:

krab

New Member
This is a known quirk with the B4X debugger, it can sometimes crash or stop when hovering over complex or large structures like Lists or Maps, especially if they're nested. It’s not necessarily a bug in your code, just the debugger struggling to evaluate the variable in real time. The best workaround is to use Log(ListName) or Log(ListName.Size) to check contents instead of hovering.
 
Top