remote-debugging

How to debug remote v8-based application using Chrome Dev Tools

删除回忆录丶 提交于 2019-12-05 13:14:35
v8 has its own JSON based remote-debugging protocol and two UI debuggers:console application D8 and a eclipse plugin(hosted at http://code.google.com/p/chromedevtools ) Chrome use WebKit Remote Debugging Protocol including Console, DOM Debugger, ..., Debugger "WebKit Remote Debugging Protocol" is a Google Chrome/Chromium debug protocol. You will find its description at http://developers.google.com/chrome-developer-tools/docs/remote-debugging So is it possible to use the Chrome Dev Tools ships with chrome to debug remote v8-based application? Try Node Webkit Agent for NodeJS version >= 0.6 Node

debug spring boot in vagrant and docker

孤者浪人 提交于 2019-12-05 10:49:44
I'm trying to setup development environment for spring-boot project based on docker and vagrant. I'm using IntelliJ running on windows to write code and vagrant to be able to run project in docker containers on any system. I'm building project with maven. Currently I'm able to run application packaged in jar in docker container running in ubuntu on virtualbox via vagrant. I cannot figure it out how to debug my application in IntelliJ, I start application with remote debugging on, correctly (or at least I think I'm doing it right) configure port forwarding, but IntelliJ still tells me

How do I debug silent failures in Java applications?

被刻印的时光 ゝ 提交于 2019-12-05 10:29:52
I'm trying to debug a problem in my Java application that throws no errors, no exceptions and doesn't even crash the app (it seems the failure happens in a separate thread). The problem seems to be inside a call to a library function (it's JAXBContext.newInstance(String) if that matters). The program will reach the line just before the call, but not the one just after it. My catch blocks are not entered and the program just continues to run. The problem happens while trying to render an XML response to a web request that came in via Struts. The request has been handled and the code should

How to debug a remote python application with (Python Tools for) Visual Studio?

柔情痞子 提交于 2019-12-05 07:51:08
According to http://pytools.codeplex.com/ , PTVS supports "Local and remote debugging". However, I couldn't find anything related to it or. So I'm curious if their "remote debugging" is simply attaching to a running process on the same machine or if there's some actual remote debugging support over TCP/IP available. I'd like to use PTVS for a WSGI-based web applications running on apache on another (linux) machine, but without a proper remote debugger (such as WinPDB, which is not that bad but sonmething integrated in the IDE would be better) it's not really useful... Pavel Minaev Remote

Visual studio + remote gdb debugging

半城伤御伤魂 提交于 2019-12-05 07:30:06
What is best way to do remote live gdb debugging and use Visual studio as the front end. In my case: I have a C++ application (compiled for debugging) running on a Linux server Can I use Visual studio on my windows machine as a front end to do live debugging on the C++ application. Is this even possible for a large scale application (OR) If above is not possible, can I use eclipse on my windows or on a different linux box to do the same remote live debugging Any other better IDE options ? Thanks. You can easily do it with VisualGDB : Build your app on the Linux machine and ensure that you can

What is the right way to deploy files for a remote debug launch in Eclipse CDT?

余生颓废 提交于 2019-12-05 01:05:39
问题 My situation: I'm currently trying to use Eclipse CDT as a replacement for a proprietary IDE. I have an enterprise application, which consists of an executable and a lot (30+) of shared library modules. The application is targeted for an embedded non-x86 platform, with POSIX-compatible operating system (QNX or GNU/Linux, depending on the selected toolchain). Because of that, debugging can't be done on a developer's machine. It has to be done remotely. I'm using Eclipse Luna / CDT 8.5 with

Remote profilling java application

浪尽此生 提交于 2019-12-04 22:15:20
问题 I'd like to ask how I can profile REMOTELY a java application. For debugging I can say which port the JVM must listen etc since the machine I'm trying to access is behind an ssh gateway so I manually create an SSH tunnel but I've been googling about the same thing but when profiling and I couldn't seem to find. Basically I'm looking for the equivalent of this command: java -agentlib:jdwp=transport=dt_socket,server=y,address=8000 -jar /bla/bla but for profiling so that I can remotely attach a

How can I run my own java code in the JVM that I am debugging remotely with JDWP?

為{幸葍}努か 提交于 2019-12-04 20:07:10
As a penetration tester, I have come across an open JDWP port. I can connect to it with Eclipse and browse the threads and memory, but I don't have the source code for the application. I'd like to inject my own Java code, perhaps as an Exception handler, in order to return a shell. How can I modify the running/suspended Java application over JDWP, preferably using Eclipse as my debugger? bonsaiviking I found the answer to my question: JavaPayload by Michael 'mihi' Schierl lets you load Java payloads through JDWP, among others. 来源: https://stackoverflow.com/questions/9100933/how-can-i-run-my

Delphi 2010 remote debugging - unable to get breakpoints working

喜夏-厌秋 提交于 2019-12-04 18:33:33
问题 I recently posted this question about my inability to get Delphi 2010 working with remote debugging. I have not had any success and decided to post up a simple step-by-step test technique that might highlight what I'm doing wrong. THIS IS REALLY IMPORTANT to me - I've used Delphi since V1.0 and earn my living from it. Being stuck like this is a pain and its keeping me on Delphi 7. Anyway, here goes. Ensure that Delphi 2010 has updates 4&5. Fire up Delphi 2010, then File | New | VCL Forms App.