Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program.
0
votes
1answer
9 views
Why is render :text => @object.inspect not working [debugging in rails]?
I have in my controller something very straightforward:
def show
@group = Group.find(params[:id])
render :text => @group.inspect
end
I know that @group exists because if I send it to ...
0
votes
2answers
18 views
Implementing break-point function for ruby
I'm implementing a break-point function for debugging my code in ruby.
my break-point function is like breakpoint in the code below.
def breakpoint s
color_s = "\033[1m\033[33m"
color_f = ...
0
votes
0answers
37 views
How does valgrind (memcheck) work?
I know how to use valgrind to check memory problems with C programs. But I want to know more. How does valgrind work internally?
0
votes
1answer
34 views
import eclipse-sourcecode into eclipse
Is it possible to import the eclipse-sourcecode into eclipse in order to debug through it?
I have downloaded the eclipse source:
Downloading Eclipse's Source Code
imported it to eclipse but i ...
0
votes
1answer
10 views
Remote Debugging via SSH | Netbeans
I'm programing on an embedded linux system calls BeagleBone Black. I'm using JDK vers. 1.6 to run my programms.
At the moment i write code on my normal pc (win7), create a .jar and transfer it via ...
0
votes
1answer
16 views
Where is the model instance for a Django SimplyLazyObject instance?
I want to see the model instance corresponding to a SimplyLazyObject that I'm getting so I can print it's __dict__. How can I find the model instance?
e.g.,
ipdb> user
0
votes
0answers
7 views
Pydev does not debug on Linux with multiprocessing
I am attempting to debug an application that uses multiprocessing.Process exactly following the instructions in this document. settrace() does not return me to the debugger on entry to the new ...
0
votes
1answer
93 views
C: Function working only in the first iteration
I am trying to design a pipelined cpu simulator. The code is fairly complex, atleast for me. There are multiple header and source files. The code compiles.
On running, it runs fine in the first ...
0
votes
1answer
30 views
TTY in perl, explaination and some examples
So I am trying run a perl debugger inside another perl debugger. I keep readin tty in perl is the solution. Can someone explain to me what tty means ( is it terminal type?) and how is it useful? This ...
0
votes
1answer
38 views
Trying to get vim command keystrokes in gdb 7.5
Hi I am using gdb version 7.5. Can someone tell me how I can get the vim keystrokes to work inside the gdb? The up and down arrow keys work for history but I want the k and j to work similar to when I ...
0
votes
1answer
7 views
mysql convert_tz command returns NULL
I have a problem with convert_tz returning null in mysql.
mysql --version
mysql Ver 14.14 Distrib 5.6.11, for osx10.7 (x86_64) using EditLine wrapper
i read the manual ...
0
votes
2answers
19 views
Python Debugging : Find where an exception is raised, go into debug mode?
Is there a command in the Python debugger (pdb) that says something like "run until the next exception is raised?"
Seems an obvious requirement but can't seem to find it.
Update : To be clear, my ...
0
votes
0answers
14 views
What is the difference between searching for intermodular calls and searching for names/labels in OllyDBG?
What is the difference between searching for intermodular calls and searching for names/labels in OllyDBG? As far as I can tell, it looks like searching for names just finds the place where a library ...
0
votes
0answers
19 views
Debugging ODBC Driver
I have ported (its more of cosmetic nomenclature changes i.e. all source suffixes was changed from 32 to 64) a Custom ODBC Driver. Once done and compiled, and registered the Driver, when I was trying ...
0
votes
0answers
21 views
Xcode debuger always show assembly
I have unchecked the 'Show Disassemble When Degugging" in Debug workflow. But it still show a lot assembly. This really make me crazy.
Does Xcode debugger is always so difficult to use?