stack-trace

Unknown Source in Stacktrace Java Eclipse

▼魔方 西西 提交于 2019-12-10 13:58:04
问题 I have the very annoying problem, that when exporting a jar-file out of my source code in eclipse I will get no information in the stacktrace about the source and line number in which the error occurs. I have checked the compiler settings in ecplise for the project and all options in the section classfile generation are set. I'm developing plugins for Minecraft which are executed by the server software bukkit. My source is in the package de.celestialcraft.agentestate. On occurance of an

How to view exception details in Visual Studio Express?

你。 提交于 2019-12-10 12:43:34
问题 How do you view exception details such as messages and stack traces in VS Express 2012? I am using Visual Studio Express 2012 for Windows Phone, and whenever an exception is thrown while debugging, all Visual Studio does is highlight the line of code at which the exception occurred. 回答1: The Exception Assistant has been removed from the Express versions of Visual Studio 2012. From here: You are correct that we intentionally removed the exception assistant from the WDX sku for VS 2012. In 2012

Detect Who Created a Thread (w. Eclipse)

我的梦境 提交于 2019-12-10 12:28:53
问题 How can I find out who created a Thread in Java? Imagine the following: You use ~30 third party JARs in a complex plugin environment. You start it up, run lots of code, do some calculations and finally call shutdown(). This life-cycle usually works fine, except that on every run some (non-daemonic) threads remain dangling. This would be no problem if every shutdown was the last shutdown, I could simply run System.exit() in that case. However, this cycle may run several times and it's

In MAXIMA, how do I get entire call stack printed?

僤鯓⒐⒋嵵緔 提交于 2019-12-10 11:38:18
问题 Sorry if this is a novice question, but I couldn't find any documentation or other stackoverflow questions on this. I want to see entire stack trace of all maxima functions called in solving an expression or an equation. I tried trace, backtrace, and debugmode. Looked at different display and print functions, but none worked. Example1: (%i1) is(equal( (a+b)^2, a^2+b^2+2*a*b )); (%o1) true Example2: (%i2) trace(factor); (%o2) [factor] (%i3) trace_options(factor, info); (%o3) [info] (%i4)

Getting local variables

一曲冷凌霜 提交于 2019-12-10 08:21:00
问题 When getting a stacktrace as error report from an application that is already deployed, it would be helpful to also get the actual variable values to reconstruct the system's state at the point before the exception was thrown. Is anything like that feasible in Java and how could one do that? Cheers, Max 回答1: I'm pretty sure you cannot get the local variables in the stacktrace as the output is built from instance of StackTraceElement which only contains, the class, the file, the method and the

Google Play Console Stack Trace

蹲街弑〆低调 提交于 2019-12-10 04:09:54
问题 In Google Play Console, I am getting the below exception trace. Although I have added deobfuscation files, the line numbers are being displayed as 0. java.lang.NullPointerException: at com.ae.apps.common.managers.ContactManager.getContactIdFromAddress(ContactManager.java:0) at com.ae.apps.messagecounter.utils.MessageCounterUtils.sortThisMap(MessageCounterUtils.java:0) at <OR>.getMessageCountDegrees(MessageCounterUtils.java:0) at <OR>.getContactMessageList(MessageCounterUtils.java:0) at <OR>

How to enable stacktrace react-native run-android command?

帅比萌擦擦* 提交于 2019-12-10 02:04:36
问题 I'm running a react native project via the react-native run-android . But during the build it fails stating that :react-native-device-info:processReleaseResources FAILED . Which doesn't give much info, so I tried running with react-native run-android --stacktrace as suggested but that isn't a recognized command. How can you enable stacktrace / verbose logging with react-native run-android command? This is the detail of the error which is too short to figure out at build: :react-native-device

Missing exception stack trace informations when using Async Targeting Pack in Silverlight 5.0

别等时光非礼了梦想. 提交于 2019-12-09 23:49:05
问题 I'm using Async Targeting Pack in Silverlight 5.0 application. When unhandled exception occurs in some async method (assuming from async "state machine"), stack trace of the exception than contains only: in System.Runtime.CompilerServices.AsyncMethodBuilderCore.b__0(Object state) end not any other code locations. 来源: https://stackoverflow.com/questions/14364807/missing-exception-stack-trace-informations-when-using-async-targeting-pack-in-si

System.Net tracing in Powershell

喜你入骨 提交于 2019-12-09 23:22:21
问题 I am trying to get tracing set up for Powershell(ISE) and I came across this link, but I am running debugView, and nothing seems to be happening. Anyone know what I am doing wrong? Basically my goal is to get tracing for System.Net.Webrequest working in powershell. If there is another way to do it, I'd also be open to that. 回答1: The answer - which is mine funnily enough - in that link refers to the regular console (powershell.exe) version of powershell. I have to ask some dumb questions: You

calling method from 1st line in stacktrace: “MyClass.java:1”

巧了我就是萌 提交于 2019-12-09 23:04:40
问题 In my project I'm using log4j to log errors and many frameworks: AOP, spring etc. What does it mean when I have in my stacktrace that calling was in 1st line, e.g: com.foo.bar.MyException: Error at com.foo.bar.MyClass.handleException(MyClass.java:92) at com.foo.bar.MyClass.myMethod(MyClass.java:76) at com.foo.bar.MyClass.myMethod(MyClass.java:1) // <- here ??? ... In 1st line my Class is comment and everything is compiled correctly MyClass.java: /* Copyright 2011 */ package com.foo.bar;