`
zsjg13
  • 浏览: 138252 次
  • 性别: 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 。。。

    Setting Up, Using, and Troubleshooting the Keil Debugger Environment - AN42499

    68013调试说! 主要是通过USB怎么在线调试68013的8051内核

    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 ...

    Introduction.to.Android.Application.Development(4th,2013.12) pdf

    Using Multiple Layouts on a Screen 230 Using Container Control Classes 232 Using Data-Driven Containers 233 Adding Scrolling Support 238 Exploring Other View Containers 239 Summary 239 Quiz Questions ...

    Python Cookbook英文版

    1.1 Swapping Values Without Using a Temporary Variable 1.2 Constructing a Dictionary Without Excessive Quoting 1.3 Getting a Value from a Dictionary 1.4 Adding an Entry to a Dictionary 1.5 ...

    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 ...

    AT&T Assembly Language

    Assembling using a compiler 80 Debugging the Program 81 Using gdb 81 Using C Library Functions in Assembly 86 Using printf 87 Linking with C library functions 88 Summary 90 Chapter 5: Moving Data 91 ...

    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 ...

    A Mixed Static Analysis Method based on Event Flow and Data Flow in Distributed Debugger

    With the distributed programs being applied broadly,... By analyzing and contrasting existing distributed debugger architecture, the paper presents a new architecture using event-based model and confirms

Global site tag (gtag.js) - Google Analytics