Subscribe to this list via RSS Blog posts tagged in Debugging
モバイル端末のデータを開発用PCに転送する はじめに モバイルアプリの開発で、端末に保存されているデータベースやログなどを、開発用のPCに持ってきて確認したいケースは良くあります。モバイル端末では「サンドボックス構造」として、モバイルアプリケーションがアクセス可能な領域が制限されています。PCからも同様で、モバイルアプリケーションの領域を直接参照することは出来ません。 以下の手段を使用すれば、モバイルアプリケーションのデータを開発用のPCに転送することが出来ます。 Andoroidの場合: Android端末のUSBデバッグを有効にします。 コマンドプロンプトから"adb shell"を実行します。 Andoroidのシェルが起動しますので、"run-as [アプリケーションのパッケージ名]"を実行して、アプリケーションのストレージに移動します。アプリケーションのパッケージ名はRAD Studioのプロジェクトオプションで確認出来ます。 cpコマンドで、転送したいファイルをPCからアクセス可能なディレクトリにコピーします。例)"cp Test1.IB /sdcard/Pictures" "exit"を入力して...

Posted by on in Programming
Tech Tipp #12: Android 8.x und Debugging Frage: Ich kann mit dem RAD Studio/Delphi/C++Builder  10.2 auf meinem Android 8.0 Gerät nicht debuggen. Wodran liegt das? Antwort: Google ist mit dem Android 8.0 Release "etwas" über das Ziel hinausgeschossen..... Google hat mit dem Release von Android 8.0 in diesem Sommer (war das ein Sommer?) einige Sicherheitsfeatures nachgeschärft. Leider ist dadurch das Debugging flöten gegangen. "Can't open socket: Permission denied.". Dazu gibt es auch einige Diskussionen hier und hier. ...
Learn How To Debug Faster And Smarter In RAD Studio With Primoz Gabrijelcic We all have to debug programs and we never like it. This CodeRage XI replay session will show you a few tips & tricks that will help you debug your code in a faster and smarter way. The session will show how to use few less-known debugger features (groups, thread support, data breakpoints ...) and will also present few tips and trick (how to add a log ""form"" in two lines of code, when modifying code is preferable to setting a breakpoint with condition etc). Be sure to check out the tip abo...
The 25 days of C++mas - December 9 - C++Builder 64-bit Debugging Debugging C++Builder XE3 64-bit Windows applications is similar to debugging C++Builder  32-bit Windows applications. You can find additional about debugging C++ (and Delphi) applications on the Embarcadero DocWiki (see links below). In C++Builder XE3 for 64-bit Windows, there are some differences in debugging using the IDE. These are also listed below. Debugging in the IDE The Embarcadero DocWiki has several articles about how to use the IDE debugger for both 32-bit and 64-bit applicat...

Posted by on in Blogs
Sometimes, SELECT Really Is Broken We got a bug report from a customer the other day; a certain query in one of our web services was giving the following error: A column has been specified more than once in the order by list. Columns in the order by list must be unique. Seems clear enough, except that There was no duplication in the ORDER BY. Our DBA discovered that the "problem" reference was [Project2].[C5] ASC, which is an alias, not a real DB column name. It certainly appeared only once, but removing it made the error ...

Posted by on in Blogs
Why Won't Visual Studio Step Into This Code? I helped another developer debug an interesting problem this morning. Let's see if you can spot the problem. The code in question looked something like this simplified version containing only enough code to show the problem: public void Execute() { DoStuff(); // breakpoint 1 } public IEnumerable<Coordinate> DoStuff() { LaunchMissiles(); // breakpoint 2 // rest of method here } Note that the result of the function DoStuff is not used by Execute. That resul...
SafeMM Debug Memory Manager available on CodeCentral In my CodeRage talk,  Debugging Techniques for Delphi, I gave a short demo of using 2 different debug heap managers to help track down memory issues.  In the demo, I showed FastMM and another memory manager called SafeMM.  FastMM has been around for a number of years, and I'm sure many of you have used it in the "fulldebug" mode to help find memory errors.  SafeMM, on the other hand, has only been available publicly since my CodeRage session.  The source files are available on CodeCentral. Sa...

Posted by on in Blogs
The Web Is Just Text In the beginning (around 1990 or so), the World Wide Web was composed of three parts: HTML, a markup language for displaying rich documents HTTP, a stateless protocol for communicating with a web server The URI, a short, standardized reference to a network resource Almost 20 years later, very little has changed, especially from the point of view of the server. To the list above, we have added client-side stuff like JavaScript and CSS, and HTML is now at version 4. But HTTP and the URI...
  • Page :
  • 1

Check out more tips and tricks in this development video: