`
zsjg13
  • 浏览: 145949 次
  • 性别: Icon_minigender_1
  • 来自: 安徽
社区版块
存档分类
最新评论

Using a debugger

    博客分类:
  • play
阅读更多

    Java IDE 中最有用的特性之一就是它们的 debuggers,它可以接入到运行着你的应用的JVM中,允许你在任何位置暂停代码的执行,以便检查应用的状态。

    要调试 Play 应用,需要将其以 debug 模式启动,然后把你的 debugger 配置为使用 remote debugging,意味着你的 debugger 将连接到一个已经正在运行的JVM,而不是IDE会启动一个然后连接到这个。

    play debug 就能将 Play 以 debug 模式启动。Play 会告诉你 debugger 要连接到哪个端口,默认是 9999.

如果用的是 Eclipse 的 debugger,Run->Debug Configurations->Remote Java Application->创建一个新的远程调试配置。填 localhost 和 9999。要启动调试,请选择 Run > Debug。

分享到:
评论

相关推荐

    Java2核心技术卷I+卷2:基础知识(第8版) 代码

    Using a Debugger 607 Chapter 12: Generic Programming 613 Why Generic Programming? 614 Definition of a Simple Generic Class 616 Generic Methods 618 Bounds for Type Variables 619 Generic Code ...

    The.Linux.Networking.Architecture

    Using a Debugger with the Linux Kernel 569 Appendix C. Tools and Commands for Network Operation 572 Section C.1. Using ifconfig to Manage Network Devices 572 Section C.2. Using ping to Test ...

    java.核心技术.第八版 卷1

    Using a Debugger 607 Chapter 12: Generic Programming 613 Why Generic Programming? 614 Definition of a Simple Generic Class 616 Generic Methods 618 Bounds for Type Variables 619 Generic Code and...

    Guide to Scientific Computing in C++

    6.4 A Second Example Class: A Class of Complex Numbers . . . . . 6.4.1 Operator Overloading . . . . . . . . . . . . . . . . . . . 6.4.2 The Class of Complex Numbers . . . . . . . . . . . . . . 6.5 ...

    debugging with gdb

    Using a debugger, programmers can trace program execution line by line, inspect variables, and see what the program is doing at any given time.

    四百八十多个脱壳脚本汇总

    This text shows how to analyze programs without its source code, using a debugger and a disassembler, and covers hacking methods including virtual functions, local and global variables, branching, ...

    Using kgdb, kdb and the kernel debugger internals

    Kgdb is intended to be used as a source level debugger for the Linux kernel. It is used along with gdb to debug a Linux kernel. The expectation is that gdb can be used to "break in" to the kernel to ...

    visual studio 调试指南

    visual studio 调试指南 Feature Tour of the Debugger Get Started with the Debugger Navigate Code with the Debugger Watch a Video on using the Debugger Learn about Remote Debugging 。。。

    Microsoft Codeview and Utilities User's Guide

    16.1.2 Using a Command File to Invoke NMAKE 16.2 NMAKE Options 16.3 Description Files 16.3.1 Description Blocks 16.3.2 Macros 16.3.3 Inference Rules 16.3.4 Directives 16.3.5 Pseudotargets 16.4 ...

    Introduction to 64Bit Windows Assembly

    Early chapters of the book rely on using the debugger to observe program behavior. After a chapter on functions, the user is prepared to use printf and scanf from the C library to perform I/O. The ...

    Live-debug-a-running-Process

    GDB (GNU Debugger) is a popular debugger that provides a comprehensive set of tools for debugging programs. In this article, we will explore how to live debug a running process using GDB on an Android...

    OCD commaner

    The OCD Commander is our free debugger software, which allows you to connect to your supported target type chip via the On-Chip Debug port (BDM or JTAG) using a Macraigor hardware device. You will be ...

    Informatica PowerCenter8 Lab 中文版 实验手册

    Unit 7 Lab: Using the Debugger 91 Unit 8 Lab: Load Date Dimension Table 98 Unit 9 Lab A: Load Promotions Dimension Table (Lookup and Persistent Cache) 105 Unit 9 Lab B: Features and Techniques II 113 ...

    Python Cookbook, 2nd Edition

    Using a Dictionary to Dispatch Methods or Functions Recipe 4.17. Finding Unions and Intersections of Dictionaries Recipe 4.18. Collecting a Bunch of Named Items Recipe 4.19. Assigning and ...

    snd-reversingwithlena-tutorials-qq664849305.rar

    08. Debugging with W32Dasm, RVA, VA and offset, using LordPE as a hexeditor 09. Explaining the Visual Basic concept, introduction to SmartCheck and configuration 10. Continued reversing techniques in ...

    Using GCC with MinGW for VSCode(VSCode 配置开发 C++)

    As you go through the tutorial, you will see three files created in a .vscode folder in the workspace: • tasks.json (build instructions) • launch.json (debugger settings) • c_cpp_properties.json ...

Global site tag (gtag.js) - Google Analytics