debugging

SQL Server debug Stored Procedure from .NET code

心已入冬 提交于 2020-01-07 05:14:08
问题 I'm wondering if there's a way to debug a stored procedure at the time it's called from .NET code? What are my possibilities? I'm using Visual Studio 2013 Community Edition and SQL Server 2014 回答1: I have managed to figure it out myself. It's quite similar to what you can find in VS 2010. I had to import database as a project to my solution. Turn on SQL Debugging in my application project properties. Re-open my project. Connect to my SQL Database through SQL Server Object Explorer. Right

how to debug a javafx application for android in eclipse

江枫思渺然 提交于 2020-01-07 04:08:05
问题 I create a big JavaFX application that works fine in desktop. In Android, its size is about 20 Mbytes. Now, for deploying it for Android, I have installed Gluon (JavaFxPorts). With a small program (using the JavaFX transitions notions, timeline, ...), I have generated an .apk by calling the androidInstall gradle task. That works fine, except I cannot automatically install the .apk file in my phone. I do copy/paste from my desktop to my phone. BUT, when I want to do the same process with my

Debug native Android application

送分小仙女□ 提交于 2020-01-07 03:00:33
问题 I'm trying to learn the debug module 'Debug as Android Native Application'. I use the demo 'hello-jni'. I set a breakpoint in the cpp file. Anyway, when I excute the 'Debug as Android Native Application', there comes errors. The console says: [2013-08-09 16:51:12 - HelloJni] Unknown Application ABI: [2013-08-09 16:51:12 - HelloJni] Android [2013-08-09 16:51:12 - HelloJni] Unknown Application ABI: [2013-08-09 16:51:12 - HelloJni] NDK: [2013-08-09 16:51:12 - HelloJni] Unknown Application ABI:

ionic run android - configurations not running app on device

会有一股神秘感。 提交于 2020-01-07 02:44:16
问题 I am trying to build and debug ionic 2 app on my android devices. Following are the details of console out put when am trying to run command ionic run android #->ionic run android ∆ Compiling Sass to CSS √ Matching patterns: app/theme/app.+(ios|md).scss ∆ Copying fonts √ Matching patterns: node_modules/ionic-framework/fonts/**/*.+(ttf|woff|woff2) ∆ Copying HTML √ Matching patterns: app/**/*.html ∆ Compiling and bundling with Webpack... √ Using your webpack.config.js file √ Sass compilation

Visual C++ Debugging problem

馋奶兔 提交于 2020-01-07 02:22:18
问题 I have been having constant struggle with Visual Studio debugger and finally got fed up and seeking help. There are some issues constantly causing trouble. If you have any solutions I will be grateful Trying to watch a function that has const and non-const versions results in ambiguous symbol error (CXX0039) Trying to get value of a function in a template class randomly gives member function is not defined error (CXX0052) Casting a template type variable results in bad type cast, even to its

Why are some debug symbols missing and how to track them?

爱⌒轻易说出口 提交于 2020-01-06 23:49:33
问题 I am currently debugging a Kernel module and to this purpose, I built the whole kernel with debug information (produces kallsyms, etc ...). When I try nm my_module.ko , I get the list of symbols included by my module. All is allright except that some symbols are kind of missing as they do not appear in the symbol list. My feeling about this is that the related functions are being automatically inlined. Anyway, when running the kernel with qemu-kgdb/gdb, I am able to see that the "missing"

how add a debug to a kit in QT for msvc2013

℡╲_俬逩灬. 提交于 2020-01-06 20:17:16
问题 I just made a clean instalation of Qt5.5 with QtCreator and Visual Studio 2013 Express for desktop (C++). However there is no Auto dettected Debug option on the default kit. Is that a normal behaviour ? How can I debug my msvc2013 Qt application? Should I mannualy add a new debbuger? Here is screenshots of my Qt. 回答1: You have to have an appropriate Windows SDK installed as SDK 8.1 in my case: It expects to find CDB.exe matching the bitness of your project 32/64 bit. And in case if it is

VS2013 - Specific action for a few configs

本小妞迷上赌 提交于 2020-01-06 19:51:40
问题 Here is a question i asked earlier, that can explain what i am looking for: The question with help you understand the problem is here What will be better? #if (!DEBUG || !DEBUG1 || !DEBUG2 || !DEBUG3) variable=5; #endif or if( !System.Diagnostics.Debugger.IsAttached ) { //code which should only run if not being debugged } If I want to attach this specific action to my 4 configs, should i use first option or the second will also be good, because System.Diagnostics.Debugger.IsAttached will fit

Eclipse: Auto-load html/JS changes during debug

你说的曾经没有我的故事 提交于 2020-01-06 19:34:19
问题 I am running an app in Java Spark Framework. I run it in Eclipse with Debug-As->Java App . This successfully deploys the changes to the Java files. That is, I save a Java file, and Eclipse compiles it, and the running app reflects the changes to the Java file. Spark uses an embedded Jetty server under the hood, so this is just like running a embedded Jetty app in Eclipse. Anyone aware of a good way to cause the HTML and JS changes to also be auto-deployed? 回答1: In order to auto update the

Debugging with helper / extension Method Regarding output of method its name and time of operation

对着背影说爱祢 提交于 2020-01-06 19:32:46
问题 I am creating a "kind of" Extension method that will help me debug my future codes there's a Listview "LV_MyAppLog" with columns record # , MethodName, Method's OutPut, Time. only that the time part i was unable to decide which is the simplest but non the less The professional way to implement. this is the code i already built : public int LogCounter = 1; public void AHLog_AddRecord(string FunctionName = "N/A", string FunctionOutPut = "N/A") { ListViewItem MyItem= new ListViewItem(); MyItem