remote-debugging

Remote Debugging is not breaking on errors

喜欢而已 提交于 2019-12-03 10:00:59
I am fairly new to remote debugging in Visual Studio, and by new I mean I have never done it before. Here are the steps I have taken to try to remotely debug an application on one of the servers in our network: open a website in VS2008 "\\server\website" Start the msvsmon service on "server" with "no authentication" and "allow any user to debug" From VS2008, Attach to the w3wp process on "server" using remote transport debugging starts and everything seems ok, but when i go to the page with the error, it doesn't break and let me debug. Am I missing something? You need to ensure you have the

java remote debugging Tomcat app: Why does the JVM not listen?

家住魔仙堡 提交于 2019-12-03 09:13:11
问题 I want to remote debug an application running in Tomcat 7. Tomcat is running as a service on a Win2008 server. I added the following to the Java options in the Java Configuration Panel of Tomcat: -Xdebug -Xrunjdwp:transport=dt_socket,address=4711,server=y,suspend=n and opened the firewall on my workstation and the server for this port. But when I try debugging from IntelliJ 9 on my workstation, I get an error message Unable to open debugger port : java.net.ConnectException "Connection timed

How can I remote debug my rcp application?

这一生的挚爱 提交于 2019-12-03 08:52:56
Because my RCP eclipse application fails when run outside of eclipse, but works correctly when running inside of eclipse, I am attempting to use eclipse to remotely debug my application as it's running outside of the eclipse environment. I am using 32 bit Eclipse 3.6.1 on a 64 bit Windows 7 machine. I am using 32 bit Java 1.6 update 37. I use the Eclipse Product export wizard to package the app, and I end up with an eclipse.exe. I have created a Remote Debug Configuration and set it to use port 8765 (random number). For debugging purposes, I start the app from the command line using this line:

How to apply a hidden / remote sourcemap in Safari?

左心房为你撑大大i 提交于 2019-12-03 08:21:01
I'm attempting to debug an issue in my react app, that's only occurring on iOS, in production. I want to utilise a hidden sourcemap so I can debug the app's minified assets in Safari without overtly publishing the commented source. hidden-source-map - Same as source-map, but doesn’t add a reference comment to the bundle. https://webpack.github.io/docs/configuration.html#devtool In Chrome I can: serve the sourcemap wherever I like (eg main.js.map right next to the minified file) open the minified asset in the Sources tab right click and 'Add Sourcemap…', supplying the URL to main.js.map Cmd-p

Visual Studio remote debugger “invalid access to memory location” feature

天涯浪子 提交于 2019-12-03 08:04:28
问题 This is another attempt to resolve the problem stated here. Unfortunately the topic was closed without adequate resolution found, as apparently the original poster had issues with symbols, not with visual studio problem itself. Problem Statement: Visual Studio 2012 (and 2010 for the same matter) will stop attaching to remote process after a period of time with "invalid access to memory location". Restarting Visual Studio fixes the problem. I am currently on VS2012 update 3, but the issue also

Android remote debugging for Phonegap app does not work

余生颓废 提交于 2019-12-03 08:02:21
问题 Hi I am trying to debug my phonegap app on my device via Chrome I have followed all the steps and my phone is recognized by adb devices command, Then I go to chrome://inspect/#devices and I can see my phone but this message appears on the browser: Offline 0019C9AD7EF31F Pending authentication: please accept debugging session on the device. The thing is that there is no such message in my phone, I have a Sansumg Galaxy S2 with kitkat. I updated the version from 4.1 to 4.4 because I thought

Delphi: Application error logging in the field

有些话、适合烂在心里 提交于 2019-12-03 07:16:53
Using Delphi 7, I wonder if there is a free component which will collect diagnostic information as my application runs at a remote site and will help me to debug error reports. Maybe it records each menu item selected, control clicked, text input, etc? Maybe it just dumps the stack on a crash. Maybe it does something else ... I don't mind adding code (e.g at the start and end of each procedure), as that might generate more useful info than a fully automatic system. I am not sure if the solution ought to "phone home" or if it is enough to produce a text file which can be emailed to me. Any

Running Visual Studio Remote Debugger in Windows Container (Docker managed)

只谈情不闲聊 提交于 2019-12-03 07:11:44
问题 I try to run the Visual Studio Remote Debugger in a Windows Container on Windows Server 2016 TP4 . Since it runs inside a container, there is no UI. I try to run the remote debugger via: .\msvsmon.exe /nostatus /silent /nosecuritywarn /nofirewallwarn /noclrwarn /port 4020 I am executing the above as administrator user (nt authority\system). This works fine on the host computer, but it does not work inside the container. The Windows event log shows the following error event. Msvsmon was unable

Make sure that the default admin$ share is enable on ServerName

◇◆丶佛笑我妖孽 提交于 2019-12-03 06:53:50
When running the psexec command to remotely install or execute something on a sever on the same network the following error was displayed. Couldn't access ServerName The network name cannot be found Make sure that the default admin$ share is enable on ServerName Most references suggested that you add the following to the registry, but in my case this was already added to the server. This did not resolve the issue. HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System and create or modify a REG_DWORD value LocalAccountTokenFilterPolicy and set its value to 1 Geddon

Remote Debugging with XDebug from inside a Docker Container does not work

♀尐吖头ヾ 提交于 2019-12-03 05:00:00
I'm trying to setup a dockered AMP environment and can't get the remote debugger working. My setup is as follows: I have a database container running mysql which is working like a charm. I built a Docker image 'phpmysqli' with the following Dockerfile FROM php:apache RUN docker-php-ext-install mysqli mbstring # zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so RUN pecl install xdebug RUN echo 'zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so' >> /usr/local/etc/php/php.ini RUN touch /usr/local/etc/php/conf.d/xdebug.ini; \ echo