E enonod Well-Known Member Licensed User Longtime User Jan 1, 2012 #1 Using Log Statements to watch variable values works fine and I guess they can be commented out singly, but I have not been able to find a way to turn all on/ off or perhaps simply remove them all quickly without having to hunt them down. Have I missed some vitals or has anybody found a simple solution?
Using Log Statements to watch variable values works fine and I guess they can be commented out singly, but I have not been able to find a way to turn all on/ off or perhaps simply remove them all quickly without having to hunt them down. Have I missed some vitals or has anybody found a simple solution?
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2012 #2 There is no automatic way to do it. Note that many programs log messages to the internal logging system. You can use Find & Replace tool to replace: Log( with 'Log( Upvote 0
There is no automatic way to do it. Note that many programs log messages to the internal logging system. You can use Find & Replace tool to replace: Log( with 'Log(
E enonod Well-Known Member Licensed User Longtime User Jan 1, 2012 #3 I don't know why but when I ask a question the answer should have been obvious to me, but wasn't. Note my signature. I used to use a Delphi add on that was similar and enabled as this does, the watching of any variable, but... would it be possible as it did, to divert these excellent and invaluable log messages to a separate Windows window? Upvote 0
I don't know why but when I ask a question the answer should have been obvious to me, but wasn't. Note my signature. I used to use a Delphi add on that was similar and enabled as this does, the watching of any variable, but... would it be possible as it did, to divert these excellent and invaluable log messages to a separate Windows window?
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2012 #4 You can use agraham's LogCat viewer: Android Logcat viewer Upvote 0
E enonod Well-Known Member Licensed User Longtime User Jan 1, 2012 #5 Wow! Many thanks, I would probably never have found it. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 1, 2012 #6 Why not? Just do a search for: Basic4android Search: Log viewer You will find the tool through the first result. Upvote 0
Why not? Just do a search for: Basic4android Search: Log viewer You will find the tool through the first result.
E enonod Well-Known Member Licensed User Longtime User Jan 1, 2012 #7 Cross purposes! I meant I might never have realised it existed and therefore would not have looked and lived the rest of my life using the IDE version. I didn't mean I can't find it once you told me it existed. Upvote 0
Cross purposes! I meant I might never have realised it existed and therefore would not have looked and lived the rest of my life using the IDE version. I didn't mean I can't find it once you told me it existed.
R Roger Garstang Well-Known Member Licensed User Longtime User Jun 8, 2012 #8 Once Connected in the IDE Log Viewer, is there no way of Disconnecting/Turning off the Viewer? With limited room perhaps Connect can turn to Disconnect when connected to give the option to turn off the log stream from coming in. Upvote 0
Once Connected in the IDE Log Viewer, is there no way of Disconnecting/Turning off the Viewer? With limited room perhaps Connect can turn to Disconnect when connected to give the option to turn off the log stream from coming in.
mangojack Expert Licensed User Longtime User Jan 19, 2013 #9 I am now asking the same question .. Just recently every time I debug the IDE switches to the Log tab. Unsure if its something I have done or maybe change with ver2.50. Its slightly annoying, for me anyway. Is it possible to disconnect and remain on the Modules tab during debug ? Cheers mj Upvote 0
I am now asking the same question .. Just recently every time I debug the IDE switches to the Log tab. Unsure if its something I have done or maybe change with ver2.50. Its slightly annoying, for me anyway. Is it possible to disconnect and remain on the Modules tab during debug ? Cheers mj
tdocs2 Well-Known Member Licensed User Longtime User Jan 19, 2013 #10 Turn Log Off in V2.5 Greetings. How do I turn the log off in V2.5 and remain in the modules or files tab? Thank you for any help in this matter. Upvote 0
Turn Log Off in V2.5 Greetings. How do I turn the log off in V2.5 and remain in the modules or files tab? Thank you for any help in this matter.
Erel B4X founder Staff member Licensed User Longtime User Jan 20, 2013 #11 Starting from v2.50 the log tab becomes visible when you run your program. I think that many developers are not aware of the logs so we are trying to help them. However if you compile with Alt + 3 (background compilation) then it will not happen. Upvote 0
Starting from v2.50 the log tab becomes visible when you run your program. I think that many developers are not aware of the logs so we are trying to help them. However if you compile with Alt + 3 (background compilation) then it will not happen.
mc73 Well-Known Member Licensed User Longtime User Jan 20, 2013 #12 Erel said: Starting from v2.50 the log tab becomes visible when you run your program. I think that many developers are not aware of the logs so we are trying to help them. Click to expand... Find it a very good idea! Many problems would be almost immediately solved if developers were having a quick look at the logger. Upvote 0
Erel said: Starting from v2.50 the log tab becomes visible when you run your program. I think that many developers are not aware of the logs so we are trying to help them. Click to expand... Find it a very good idea! Many problems would be almost immediately solved if developers were having a quick look at the logger.
mangojack Expert Licensed User Longtime User Jan 20, 2013 #13 Yes .. it is a very good idea, but it would be nice to have an option to turn it off. I have added to the wish list so will leave it there. Cheers mj Last edited: Jan 20, 2013 Upvote 0
Yes .. it is a very good idea, but it would be nice to have an option to turn it off. I have added to the wish list so will leave it there. Cheers mj
tdocs2 Well-Known Member Licensed User Longtime User Jan 20, 2013 #14 Thank you Erel Thank you for the response, Erel. Best regards. Sandy Upvote 0