天道酬勤,学无止境

remote-debugging

Visual Studio remote upload and debugging on other computer

Is there any way to remotely upload, run and debug an application on another computer? I know you can attach the Visual Studio Remote Debugger to an application running on a remote computer, but I'm looking for a completely automated way of doing it. I'm building a home automation system, and it would be AWESOME if I could get some kind of plugin to visual studio which would let me hit F5 in VS and then the application would just build as normal and be sent to my server PC and run there (with remote debugging attached). The problem is that my laptop don't have all the hardware that my server

2021-06-24 08:27:51    分类:问答    visual-studio-2010   remote-debugging

如何在不访问硬件的情况下使用我的 Android 应用程序调试看似依赖于硬件的问题?(How can I debug a seemingly hardware-dependent issue with my Android app without access to the hardware?)

问题 我在 Android 市场上有一个开源应用程序。 它对我来说似乎很好用(有超过 1,000 次活动安装,我必须假设它适用于大多数人)。 我最近收到一份错误报告,指出三星手机(Intercept 和 Captivate)上至少有三个用户存在问题。 我一直无法在我的 ADP2 和模拟器上重现该问题。 为了获得足够的数据来诊断问题,我首先尝试添加日志记录,然后我要求用户通过日志收集器提交日志。 每次用户尝试发送日志(有四次尝试),它都会被截断,我没有得到任何有用的数据。 然后我将 ACRA 添加到项目中以尝试获取信息,但我似乎无法自动检测错误以发送报告。 由于我没有三星手机,而且我无法在任何可以与调试器连接的地方复制它,因此我几乎没有想法。 我剩下的唯一想法是向 UI 添加一个按钮以生成报告。 还有其他方法可以建议吗? 更新:由于人们要求更多细节:本质上,应用程序从资产中读取文本文件并将它们(经过一些预处理)放入 ScrollView 中的 TextView。 (数据逐步添加到 SpannableStringBuffer,然后传递给 TextView 的 setText() 函数。)根据选择的选项,显示的文本介于 15k-115k 之间。 在有此问题的手机上,仅显示部分文本。 截止点取决于选项,但似乎在 17k-18k 之间。 ACRA 发送所有未捕获异常的报告,并将它们放入

2021-06-23 13:41:58    分类:技术分享    android   debugging   remote-debugging

JBoss EAP 6 configure single server for remote debugging in domain mode

I have Domain controller, one Host controller and one server running in the same machine. I'm using IDEA to connect to the remote server for debugging but it's not stopping on break points even though it's running the code (i've verified with system outs). I've enabled HOST_CONTROLLER_JAVA_OPTS and PROCESS_CONTROLLER_JAVA_OPTS for remote debugging in $JBOSS_HOME/bin/domain.conf: # Sample JPDA settings for remote socket debuging. PROCESS_CONTROLLER_JAVA_OPTS="$PROCESS_CONTROLLER_JAVA_OPTS -Xrunjdwp:transport=dt_socket,address=8788,server=y,suspend=n" HOST_CONTROLLER_JAVA_OPTS="$HOST_CONTROLLER

2021-06-23 11:13:35    分类:问答    jboss   remote-debugging

Is it possible to use gdb to debug remotely over ssh?

Can I debug a program running on a remote target to which I have ssh access, using local source files? Say I've got a program called hello.c, in directory /home/jla/hello on my home machine. And on the remote machine I put this same file in a directory /hello, and compile it with $ gcc -g -o hello hello.c, and then delete the remote hello.c, but leave the executable. Can I then run gdb locally, get it to ssh in to the remote machine to run the executable, but use the local sources as reference? Notes: Annoyingly, the remote machine is very stripped down and can't be altered. It has gdb, but it

2021-06-23 10:34:23    分类:问答    gdb   remote-debugging

How to do remote debugging of DLL in delphi 7 from scratch

can anyone please help me out, to how to do remote debugging of a DLL (Just a dll) which is independent of the exe. The dll is a service which will be running in the server machine and the DLL source code is at the client machine. Now when this service is running at the server machine i want to debug the delphi code which is at the client machine using delphi 7.

2021-06-23 10:31:02    分类:问答    delphi   remote-debugging

Qt Creator stdin for command line with Deploy to Remote Linux Host

I am using the Remote Deploy feature of Qt Creator to launch my simple command line application on an embedded Linux target board. My test application is extremely simple and asks the user to print his/her name. It crosscompiles, transfers to the board, and launches and the 'Application Output' window near the bottom of Qt Creator shows the 'Type your name:' prompt, but I cannot type anywhere and provide stdin to the application running remotely through Qt Creator. How can I accomplish this within Qt Creator? Can I somehow manipulate the deploy 'arguments' to connect a device to provide stdin

2021-06-23 01:32:11    分类:问答    c++   qt   qt-creator   cross-compiling   remote-debugging

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

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?

2021-06-22 18:03:17    分类:问答    javascript   google-chrome   remote-debugging   v8

PyCharm remote interpreter and Tensorflow -> can not import Cudart.so

I'm using PyCharm for remote debugging, client Win10, server Ubuntu 16. On the Ubuntu machine I have Cuda 8.0 correctly installed, along with python 2.7 and tensorflow 1.0.0. Tensorflow works perfectly from the server (ssh + invoking python, import tensorflow etc..). In PyCharm I set up a remote debugger to my server machine, but now importing tensorflow results in an error: Traceback (most recent call last): File "/home/*****/*****/********/*******.py", line 24, in <module> import tensorflow as tf File "/usr/local/lib/python2.7/dist-packages/tensorflow/__init__.py", line 24, in <module> from

2021-06-22 14:08:40    分类:问答    python   tensorflow   pycharm   remote-debugging

ASP.NET / IIS Remote Debugging - DEBUG verb

I'm looking for details on the DEBUG HTTP verb. It's clear to me that this is used for remote debugging - though I'm not even sure if it's for IIS or ASP.NET... If I want to access this interface directly - i.e. not through Visual Studio, but sending these commands manually - what do I need to know? What are the commands for it? I'm also interested in misuse cases, if you have any information on that...

2021-06-22 03:13:40    分类:问答    asp.net   http   iis   debugging   remote-debugging

How do I debug silent failures in Java applications?

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

2021-06-22 02:47:14    分类:问答    java   eclipse   debugging   remote-debugging