» Home » debug » Page 1
How to debug a plugin or gem using ruby-debug gem, where the part I wanted to debug started from test scripts?
Category : Programming Languages

For example I have this gem called Authlogic-openid, that plugin is outdated, no longer supported, and broken (let me know if you know any alternative by the way).


I wanted to make sure the test runs by keying ctrl+R on vendor/gems/authlogic-oid-1.0.4/test/acts_as_authentic_test.rb


[Please do not attempt to try my steps below, the gem itself was already broken apart so I


View Replies


Not able to debug junit. On debug it runs the unit test without stoping at debug point
Category : Development Tools & Services

I am not able to debug junit.
On running the unit test in debug mode, runs the test without stopping at the debug point.


View Replies


how to debug maven surefire test more easily (using eclipse as debug server)
Category : Programming Languages

I'm using maven / surefire / eclipse to write some code and later test / debug it.


Standard way to do it is by using maven.surefire.debug maven property. By default, when this property is enabled, maven starts listening on port 5005 and I can attach to the debugged process using remote debugger. When the test finishes remote debugger disconnects from the server.


This pro


View Replies


C# : compiling with /debug+ /debug:pdbonly /optimize- is optimizing the runtime code
Category : Network & Servers

is it a bug? here is the code


static void Main(string[] args)
{
fun1();
}
static void fun1()
{
fun2();
}
static void fun2()
{
throw new Exception("test exception");
}

build with the above option in VS 2008, with Optimize option not selected and Build advanced options debug info select pdbonly and c


View Replies


Missing Debug|Any CPU build config for projects and defaultiing to Debug|x86 on Windows x64
Category : Programming Languages

I've just recently reinstalled Windows 7 x64 on my box. The installation succeeded and I've had no issues with the operating system as a whole. I believe there is a configuration issue with either Windows or .NET x64.


Symptoms


The default build configurations for new projects is Debug|x86.
This doesn't feel right. I'm running an x64 OS, and I'm reasonably confident tha

View Replies


Publish in debug mode but compiler removes code inside #if debug
Category : Programming Languages

I'm only publishing in debug mode to test on my local machine and I was hoping the '#if debug' mode would work so that I could test features that I don't want in production yet.


When I publish in debug mode the web.config still has


<system.web>
<compilation debug="true" targetFramework="4.0">
</system.web>

but when


View Replies


Debug Techniques: Visual Studio 2008 Process fatal crash after debug of WPF application
Category : Programming Languages

I have a relatively large C#/WPF Visual Studio 2008 solution that I am trying to test and synchronize across 2 developer's computers. On my computer, I am able to build and debug (run) the project successfully without errors.


On the second computer, I am able to build the solution without any errors. When I attempt to run the solution, Visual Studio starts the process but about 3 s


View Replies


Application rarely completes loading in debug mode, but “run without debug” loads fine
Category : Programming Languages

F5 -> stalls at a random point


Ctrl-F5 -> loads instantly. Meaning I then have to "attach to
process" to debug.


This gets annoying if I want to change code and have it reflected straight away.


Would this have something to do with loading source for symbols? I've tried pausing the application when run under normal debug mode but it'll be paused in


View Replies


Is compiling in debug mode possible despite a third party library having no debug-build lib?
Category : Programming Languages

I have an application I'm working on that uses two third party libraries, each with pre-compiled libs and dlls, one of which provides necessary .lib files for both debug and release builds (A[d].lib) and the other which provides only .lib files for release builds (B.lib). Compiling in Release mode (using MSVC9) works fine, however attempting to compile in debug mode fails because third party

View Replies


eclipse debug configuration ignores -Dlog4j.debug setting, why?
Category : Web Design

I want to know why my efforts to set a log4j config for a desktop application won't work. Many answers here suggest to first give the setting -Dlog4j.debug to the VM, for debugging purposes. On the command line this works. When I place this in the Run/Debug configurations.../VM arguments field, and click Debug, nothing shows in the Console View (which is correctly labeled after my configuration


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .