debugging

Why addr2line is not able to resolve certain address to function names?

天大地大妈咪最大 提交于 2020-01-05 09:34:44
问题 I have backtraces obtained from executing the command dumpheap -n <PID> <file> . I have to convert these address to function names and line numbers to make these backtraces meaningful. I used addr2line to convert these addresses to function names. This is the command i used addr2line -C -f -e <libname>.so <address> . There are certain places where addr2line gives me $t in the place of function names but gives the filename:linenumber correctly. How should i resolve this '$t' into function name

Building Blender for breakpoints/Debug in Xcode

非 Y 不嫁゛ 提交于 2020-01-05 09:22:26
问题 TL;RD Following http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Mac for Xcode what are the steps that let you add breakpoints/watches and correctly debug the executable on OS X? My spec Xcode Version 6.4 (6E35b) OSX 10.10.4 (14E46) CMake 3.3.0 GUI build with QT 4.8.6 The long description I did follow the instructions so I set the scheme as suggested as for Xcode 5 (did let debug as default) but First time cmake fails because there is no numpy there is no numpy (release or debug)

Building Blender for breakpoints/Debug in Xcode

点点圈 提交于 2020-01-05 09:22:26
问题 TL;RD Following http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Mac for Xcode what are the steps that let you add breakpoints/watches and correctly debug the executable on OS X? My spec Xcode Version 6.4 (6E35b) OSX 10.10.4 (14E46) CMake 3.3.0 GUI build with QT 4.8.6 The long description I did follow the instructions so I set the scheme as suggested as for Xcode 5 (did let debug as default) but First time cmake fails because there is no numpy there is no numpy (release or debug)

Debugging a software verifier written in sbt on Intellij Idea

回眸只為那壹抹淺笑 提交于 2020-01-05 08:23:09
问题 I'm working with Stainless, a software verifier for Scala programs. I would like to debug the verification process of a sample programme on Intellij Idea. On a previous post, I solved this integration problem for an interactive theorem prover. But now, I'm facing two problems: Apparently, the verification software runs at compile time. That is, I enter in the sbt console and run the compile command and then the verification process seems to be done. You may try this with this verified example

PhpStorm - Xdebug, Waiting for incoming connection idekey

只谈情不闲聊 提交于 2020-01-05 08:00:52
问题 I've searched a lot for this problem when debugging php using PhpStorm 2016.3 with xdebug, but still not working with error "Waiting for incoming connection idekey xxx". php.ini PhpInfo Debug Settings Server Config And Run Config I have already enabled the "Listening for PHP debug connections". Any help highly appreciated, thanks all ! 来源: https://stackoverflow.com/questions/40668606/phpstorm-xdebug-waiting-for-incoming-connection-idekey

how to know a c program's stack overflows?

馋奶兔 提交于 2020-01-05 07:18:09
问题 i am simulating a problem(3d Ising Model) in c but when the problem size gets larger the program stop and the below error appears : Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) in the program I have a recursive function that does all the works, i suspect that the error is because of stack overflow(in the recursive function) but i do not know how to be sure. and if it is because of stack overflow, is there any way to solve this problem without changing program design

Camera not working?

五迷三道 提交于 2020-01-05 07:17:28
问题 I was developing an app just to open camera and capture images. I am new to this and I cannot understand what am I doing wrong. Please someone help me with this, I am posting my java code and XML code here: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent">

Python 3 Windows Service starts only in debug mode

守給你的承諾、 提交于 2020-01-05 05:39:06
问题 I first posted an answer in this post, but it didn't conform to the forum standards. I hope this time te answer fits the forum standards. This code should be more clear and easy to read. In Python 3+ I have the following class that I use to build a Windows Service (it does nothing, just writes a log file): #MyWindowsService.py import win32serviceutil import servicemanager import win32service import win32event import sys import logging import win32api class MyWindowsService(win32serviceutil

“myapp.exe has triggered a breakpoint” while debugging - afterwards slow symbol loading in Visual Studio 2015 Update 3

不打扰是莪最后的温柔 提交于 2020-01-05 05:33:05
问题 We have a C++ project in STA mode which opens an C#/WPF lib that hosts an ESRI ArcEngine MapControl via WindowsFormsIntegration. This worked fine in Visual Studio 2013. Since we switched to VS2015 Update 3 starting the ArcEngine part while debugging (both in Debug and Release) is horribly slow after an mysterious breakpoint is hit in wntdll.pdb: "ArcEngineTestApp.exe has triggered a breakpoint." There is no further explaination in the Output window (see full output). When I hit continue, the

ptvsd with visual studio code “pydev debugger: warning: trying to add breakpoint to file that does not exist”

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-05 05:27:10
问题 When I run the following debug from a Visual studio code (Windows computer) to a Raspberry PI. I get the following error twice : pydev debugger: warning: trying to add breakpoint to file that does not exist: /home/pi/testdebug/C:/IOT/Github/RaspberryPi/test_remote_debug/test_remote_debug.py (will have no effect) pydev debugger: warning: trying to add breakpoint to file that does not exist: /home/pi/testdebug/C:/IOT/Github/RaspberryPi/ReadPressure/Testing_bar_broke_notification.py (will have