Other [SOLVED] Debugger: how to get long string variable values to clipboard?

Lee Gillie CCP

Active Member
Licensed User
Longtime User
I am struggling a bit with JSON serializers/deserializers between my web API server and the mobile app. I have a bench project in VB.NET to experiment with deserialization from static string values. I would like to be able to paste a string produced in B4A mobile app to the VB.NET bench project (i.e. not send it over the wire). But I find long strings produced in B4A are always shown with trailing ellipses after a point. If you display, hover, or "copy value to clipboard", the string is always truncated. I can not find a way to see it all within the debugger.

My question is: While in the debugger is there any way to see long string values. My goal is to get that long string in the clipboard for study outside of the debugger. My feeling is that it should be a setting/option of the debugger to truncate, and if enabled, how much to show.
 

Lee Gillie CCP

Active Member
Licensed User
Longtime User
I think I found a way to deal with this. I add this code at the test point to see what is in the string variable "t".

B4X:
       Dim t As String = jsn.ToString()
    Dim Message As Email
    Message.To.Add("xxxxx@yyyy.com")
    Message.Subject = "Test data"
    Message.Body = t
    StartActivity(Message.GetIntent)

Seems to come through with the entire text in the message body.
 
Upvote 0
Top