debugging

Why is one of my `Global.asax.cs` file in my ASP.net solution with two startup projects not called?

旧时模样 提交于 2020-01-24 00:37:05
问题 In a Visual Studio (Professional 2017) solution , I have multiple projects , two of which are startup projects, the UI and the API . The curious thing is that the API\Global.asax.cs does not seem to be executed, although both startup projects are actually enabled to be launched for debugging. I am sure about that, since when hitting the green Debug arrow, two browser windows open, and both UI and API work. There are two distinct Global.asax.cs -files, one for each startup project (whether

How to create a dump of the current ASP.NET managed process for debugging?

若如初见. 提交于 2020-01-24 00:25:09
问题 I'm attempting to debug an ASP.NET application. It's particularly difficult as the bug only occurs in the released code deployed to production . It cannot be reproduced in the development or test environments. I'd like to investigate further by creating a dump file at a particular line in the code where the problem is happening. However the production environment cannot be taken down at any point due to business requirements. That's also why remote debugging can't be used. Does anyone know

this BASH code works on a command line, but not when i move it into a script

送分小仙女□ 提交于 2020-01-23 19:47:13
问题 I built-up a kludgey script on the CLI that I can't successfully move into a text file. I know it's poorly-written, but I'm interested in resolving the problem I'm having, not re-writing it. I want to understand why my poorly-written code behaves differently when executed on the command line compared to when it's saved as a file. I think it's related to something getting interpolated prematurely in the script, because if I substitute the one-liner version into the same file (without

Visual Studio 2013 Update 1 Debugger Crashing

五迷三道 提交于 2020-01-23 17:44:04
问题 I recently installed Update 1 for Visual Studio 2013. Every time my program throws an exception, the Visual Studio debugger crashes - whether or not the exception is handled. Visual Studio also crashes whenever it hits a breakpoint. The Windows Error Reporting dialog pops up and gives the options to debug or restart Visual Studio. If I click debug and and open with VS, it also crashes - debugging itself! This is leading me to believe that there is not a problem with my app, but rather with

Debugging of a JVM application (Java or Scala) with breakpoints in Gradle and IntelliJ 2016.3.5

我们两清 提交于 2020-01-23 15:35:16
问题 I have a JVM application that I need to debug using breakpoints with a Gradle task (run and test as dependencies) within IntelliJ 2016.3.5. There are various sources on how to accomplish debugging with Gradle and IntelliJ: Debug Gradle plugins with IntelliJ Using Intellij to set breakpoints in gradle project (most helpful one) https://youtrack.jetbrains.com/issue/IDEA-119551 https://youtrack.jetbrains.com/issue/IDEA-86465 https://youtrack.jetbrains.com/issue/IDEA-119494 However, these sources

Not working - Debug Mode native code (c/c++) on Android studio with tablet HUAWEI MediaPad M5

泄露秘密 提交于 2020-01-23 14:37:26
问题 I have a problem when i put breakpoints on my native code (c/c++) with this tablet (HUAWEI MediaPad M5, android 8.0.0, processor Hisilicon Kirin 960s). Indeed, in debug mode, i can't use the breakpoint on native code. So i can't debug native code. It's working with all the others devices (smartphone : samsung, sony). The setup configuration on android studio is ok. Can you help me please ? Do you have any solution please? Thanks you, Best regards 回答1: Well, We contact HUAWEI's tech support

Not working - Debug Mode native code (c/c++) on Android studio with tablet HUAWEI MediaPad M5

筅森魡賤 提交于 2020-01-23 14:37:13
问题 I have a problem when i put breakpoints on my native code (c/c++) with this tablet (HUAWEI MediaPad M5, android 8.0.0, processor Hisilicon Kirin 960s). Indeed, in debug mode, i can't use the breakpoint on native code. So i can't debug native code. It's working with all the others devices (smartphone : samsung, sony). The setup configuration on android studio is ok. Can you help me please ? Do you have any solution please? Thanks you, Best regards 回答1: Well, We contact HUAWEI's tech support

Not working - Debug Mode native code (c/c++) on Android studio with tablet HUAWEI MediaPad M5

╄→гoц情女王★ 提交于 2020-01-23 14:36:29
问题 I have a problem when i put breakpoints on my native code (c/c++) with this tablet (HUAWEI MediaPad M5, android 8.0.0, processor Hisilicon Kirin 960s). Indeed, in debug mode, i can't use the breakpoint on native code. So i can't debug native code. It's working with all the others devices (smartphone : samsung, sony). The setup configuration on android studio is ok. Can you help me please ? Do you have any solution please? Thanks you, Best regards 回答1: Well, We contact HUAWEI's tech support

Need some assistance with TFS2010 + an automated Build + 'Configurations to Build = Debug'

我的未来我决定 提交于 2020-01-23 12:40:10
问题 really. weird. shiz. When I do a TFS Team Build (with Remote Deploy ), some #if DEBUG preprocessor directives code I have on a web page does not get called. When i manually one-click deploy (remote deploy) the preprocessor directive code works. When I debug locally, the code also works. So - problem looks to be related to my configuration settings for the Build Template i have (I think??). So, this is what I have :- Nothing too hard. That says ... Please kind Compiler. Build my project (read:

Visual Studio loses ability to attach to Unity, why?

牧云@^-^@ 提交于 2020-01-23 11:53:13
问题 I'm using Visual Studio with Unity. In general in VS I can simply click "Attach to Unity" and it will build the solution and indeed attach to Unity. Sometimes, however, a project loses the "ability" to do so, what means that suddenly clicking the button will only build the solution and not attach to Unity. I really would like to know what's happening there as I'm not aware of doing anything that could result in such a behaviour. There are some parameters that might have an effect: it happens