When I am debugging an application running in my phone device, the debugger is always disconnected 30 seconds after reach a breakpoint. The error message is:
E ANR in com.plm.myapptest
PID: 14911
Reason: Changing to new focus window timeout
Frozen: false
Load: 22.06 / 22.39 / 22.73
----- Output from /proc/pressure/memory -----
some avg10=0.26 avg60=0.13 avg300=0.06 total=1119102705
full avg10=0.12 avg60=0.05 avg300=0.01 total=532509077
The issue not happen running the app in software emulator.
My phone device is Realme 7 running Android 12 and my IDE is Android Studio Electric Eel | 2022.1.1 Build #AI-221.6008.13.2211.9477386, built on January 11, 2023 Runtime version: 11.0.15+0-b2043.56-8887301 amd64
The error message 'Changing to new focus window timeout' not appears in google searchs and in my opinion has not sense. A debug window should take window focus the time that the developer needs. Is there a parameter in amdroid SO to configure this timeout?
Related
O/S Android 11.
I have developed an application with BLE scanning. It does not do any connection to BLE devices. It just get list of near by devices. App works fine. I can see following error registered in the Logcat each time I stop and start the scan. Can any one please tell me what is wrong.
E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler, msg: MESSAGE_SCAN_START, appName: com.ttt.ttt.vctap, scannerId: 11, reportDelayMillis=0
E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler, msg: MESSAGE_SCAN_STOP, appName:com.ttt.ttt.vctap, scannerId: 11, reportDelayMillis=0
The two log lines in the question:
E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler, msg: MESSAGE_SCAN_START, appName: com.ttt.ttt.vctap, scannerId: 11, reportDelayMillis=0
E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler, msg: MESSAGE_SCAN_STOP, appName:com.ttt.ttt.vctap, scannerId: 11, reportDelayMillis=0
do not indicate any error. They indicate normal operation.
These log lines are specific to Samsung devices. They indicate that the Android app with applicationId com.ttt.ttt.vctap has started a BLE scan (first line). The second log line indicates that the scan has been stopped.
Try these, after doing this I managed it to work (not everytime but yes)
Steps:
Bluetooth data clear from system app
Reset Bluetooth data (network settings)
https://youtu.be/eGNKTeS_iDg
I have Android app which are writed use Java and C++/JNI code. My C++/JNI part work bad. I want to debug native code.
I work in Android Studio.
I did all step which take official site
enter link description here
But when I start debug I see line
Starting LLDB server
And he does not finish. I wait 30 min but he does not finish.
What I must to do. Because I think this bug or I must to take some settings.
I found error. But I did not understand. When I test app from USB cable all work good. But when I want to test my app through wifi (I use Android Wifi ADB) LLDB Debug server start, but not attach to process.
If I debug java code use java debugger all work good.
All output in debug console:
Connecting to org.temp.test
Waiting for application to start debug server
Waiting for application to come online: org.temp.test.test | org.temp.test
Connecting to org.temp.test
Now Launching Native Debug Session
Starting LLDB server: /data/data/org.temp.test/lldb/bin/start_lldb_server.sh /data/data/org.temp.test/lldb unix-abstract /data/data/org.temp.test/lldb/tmp platform-1524470360668.sock "lldb process:gdb-remote packets"
I have downloaded SonarQube 6.7 LTS and installed on both Windows 10 and centOs 7. On both machines I have problem in following:
1- Problem in enabling/disabling rules in quality profile. While in the 'Rule Page with comments and examples about that rule and clicking on enable/disable in a quality profile it says Still Working and nothing happens. ( By refreshing the page you can see that the action is done).
I found this error in firefox console while disabling a rule:
TypeError : this.options.app.controller.getRuleDetails(...).done is not a function
Image Of Page with problem
2- Delay in authentication while connected to Ldap. Local users can login without any problem but ldap users sometimes have about 1 min delay in login and sometimes logs in with out any problem.
In addition there is no error in any of log files! I have not changed any default configuartion and just added Ldap part. Both machines have 4GB of Memory and 4x Core of cpu. I tested it with Firefox 57 and chrome.
Thanks in advance.
I just got the confirmation of the front-end developer, that fixed https://jira.sonarsource.com/browse/SONAR-10054 . He confirmed, that the issues about enabling and disabling of rules you described will be resolved in SonarQube 7.0 and 6.7.1.
My computer just freezes after prolonged use of Intellij 15.0.6 , which forces me to restart my whole computer. Cannot even open "force quit application" window.
I have switched the default boot JDK for intellij as stated here
Logs from User reports :
Time Awake Since Boot: 33000 seconds Time Since Wake: 6300
seconds
System Integrity Protection: enabled
Crashed Thread: 25 Java: Java2D Queue Flusher
Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes:
KERN_PROTECTION_FAILURE at 0x00000001000fb000 Exception Note:
EXC_CORPSE_NOTIFY
I have a strange issue. Until 2 days back, my setup has been working for almost 2 years.
the setup that always worked :
1. I use postgress 9.3 for development on my laptop.
2. I use intellij idea database tools to browse data
3. sometimes I use pgadmin
4. I run maven build of our application
for the past 2 days, when I run maven install , build fails with
[main] ERROR SqlExceptionHelper.logExceptions(146) | Cannot create PoolableConnectionFactory (The connection attempt failed.)
but, my idea client, pgadmin have no problem connecting.
pg log has the following :
2015-11-06 11:08:02 CST LOG: could not receive data from client: An operation was attempted on something that is not a socket.
2015-11-06 11:08:02 CST LOG: incomplete startup packet
2015-11-06 11:08:17 CST LOG: could not receive data from client: An operation was attempted on something that is not a socket.
2015-11-06 11:08:17 CST LOG: incomplete startup packet
2015-11-06 11:08:35 CST WARNING: pgstat wait timeout
2015-11-06 11:08:46 CST WARNING: pgstat wait timeout
2015-11-06 11:09:35 CST WARNING: pgstat wait timeout
2015-11-06 11:09:45 CST WARNING: pgstat wait timeout
I also disabled firewall and tried. It still fails.
any hints on what could be happening ?
It looks like something's wrong with the windows TCP/IP stack.
See:
https://support.microsoft.com/en-us/kb/817571
PostgreSQL error: could not receive data from client: An operation was attempted on something that is not a socket
The mailing list thread http://www.postgresql.org/message-id/AANLkTimgyax1LUU85caP2FfwKTWkdAwDIE3S7zI-6oea#mail.gmail.com
Possible actions include:
Completely uninstall your antivirus product or (worse) "internet security" suite if you have one. Disabling it is not likely to be enough. You can reinstall or install a better one once you've confirmed it's the cause.
Do a windows TCP/IP stack reset. Exact steps depend on your Windows version, which you did not mention, so you might need to look around a bit. This might have side effects like clearing settings that break other applications. You should know what you're doing, be willing to accept possible problems, or get professional support from a tech with Windows skills.
Check the system for possible rootkit or undetected virus activity
Uninstall any unnecessary drivers for 3G modems, cable providers, etc
If you installed any software recently, remove it