Google Maps Android API v2 – Sample Code crashes

Follow the crib sheet very, very carefully: https://docs.google.com/document/pub?id=19nQzvKP-CVLd7_VrpwnHfl-AE9fjbJySowONZZtNHzw In particular, I think you need to: Import the actual source for the “google-play-services_lib” project and link it as an Android library. Do this through Project -> Properties -> Android -> Library, Add -> google-play-services_lib (you can right click on your project and choose Properties, then select … Read more

set /p empty answer crash

it’s not the set /pthat crashes, but: if %input%==new if %input% is empty, this is parsed as: if ==new obviously a syntax error. To avoid this, use: if “%input%”==”new” An empty input will then be parsed as: if “”==”new” which works fine. The same applies when the variable contains only spaces and/or tabs: if == … Read more

Why does my visual studio closes automatically without any errors

You can delete the .vs folder without problem because it contains temporary files, user cache data and some others things like with a net browser. It is the same with .suo and .user files. You can try to uninstall and reinstall Visual Studio as well as use the Cleanup Tool : https://learn.microsoft.com/visualstudio/install/remove-visual-studio learn.microsoft.com/visualstudio/install/remove-visual-studio. You also … Read more

How do I use PDB files

PDB files map an assembly’s MSIL to the original source lines. This means that if you put the PDB that was compiled with the assembly in the same directory as the assembly, your exception stack traces will have the names and lines of the positions in the original source files. Without the PDB file, you … Read more

Java VM: reproducible SIGSEGV on both 1.6.0_17 and 1.6.0_18, how to report?

I got similar problem upgrading to JDK 1.6_18 and it seems solved using the following options: -server -Xms256m -Xmx748m -XX:MaxPermSize=128m -verbose:gc -XX:+PrintGCTimeStamps -Xloggc:/tmp/gc.log -XX:+PrintHeapAtGC -XX:+PrintGCDetails -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=”/tmp” -XX:+UseParallelGC -XX:-UseGCOverheadLimit # Following options just to remote monitoring with jconsole, useful to see JVM behaviour at runtime -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=12345 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=MyHost I still didn’t double check … Read more