Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer program.
0
votes
0answers
12 views
Couldn't Debug the Complete Code to Create the Window
As what have said on Creating a Window (Windows):
“Congratulations, you've created a window! Right now, the window does
not contain any content or interact with the user.”
But I couldn't debug ...
1
vote
1answer
15 views
How to debug sessionscoped beans?
Imagine I have a bean which is SessionScoped. ( Call it: Bean A )
When I request a page that accesses this bean, this bean is initialized and some of its properties are set accordingly.
Then I ...
2
votes
1answer
32 views
Setting multiple breakpoint in Visual Studio 2012
I would like to set breakpoint all Convert.ToInt32 lines.
I have tried to replace all Convert.ToInt32 to System.Diagnostics.Debugger.Break(); Convert.ToInt32 but it did not work because some of the ...
0
votes
0answers
5 views
Code::Blocks debugger shows some other path which isn't included in the project
I'm trying to use code::blocks debugger. I followed this basic tutorial on how to do it. I also watched two videos on you tube. I was actually trying it on a bigger file which had its declaration ...
0
votes
1answer
5 views
Ollydbg target runs automatically
I have a target that automatically runs after I load it in to Ollydbg.
This form, doesn't stop at the entry point (but continues to execute and at a point it pauses, I have to press shift + f9.)
Is ...
0
votes
1answer
29 views
android applications does not compile and the emulator does not work
I am trying to learn android and i have encountered a serious problem. when i debug and run the program nothing happens. is there some special way to debug and run the code?
and some times i get the ...
2
votes
2answers
20 views
How can I convert code to a string or print it with proper spaces in scheme?
Is there a way to convert code to a string in scheme with proper spaces or even pretty print?
So when I apply this to a form like (+ 1 2) it should result in "(+ 1 2)" and not in "+12".
0
votes
0answers
9 views
Is it possible to wakelock the device through Android debug bridge?
I'm running monkey runner scripts, and sometimes I need to wait a while for a screen to pop up, so I want to find a way to keep the screen awake from the console. I'm sure I can use 'adb shell input' ...
0
votes
1answer
14 views
Getting SQL statment sent to server after script finishes generating it with prepared statments
I'm trying to trouble shoot a problem with a prepared statement using mysqli in PHP. Is there a way to output the query that is actually sent to the server? For example if the WHERE clause to the ...
0
votes
0answers
56 views
Optimizing a script which turns numbers to words
I wrote a code which makes real numbers verbal, and I'm trying to design short functions that will include any case in them, instead of mentioning spesific cases (which works here). You will get the ...
1
vote
1answer
93 views
Code Not hitting breakpoint in visual studio 2012
I have a mvc c# web application i am building in vs 2012, I put a breakpoint on the controller but that breakpoint is never hit, i get the results so i know that code is running. whats weird is that ...
0
votes
1answer
56 views
NullPointerException in java exercise assignment
He I am a beginner in java and I am working on a exercise where I need to draw a car. The code in my book does not work and I don't know why.
I am not a total noob to java I know classes, objects, ...
0
votes
1answer
11 views
Zend set longer track shortcuts
I'm getting some Zend error like:
#0 C:\workplace\electro\library\Zend\Db\Statement.php(115): Zend_Db_Statement_Mysqli->_prepare('SELECT `cm`.`su...')
Part of it:
'SELECT `cm`.`su...'
is ...
2
votes
1answer
16 views
QtCreator: how to set parameters for debugging?
In QtCreator, I have not been able to find how to set the arguments to pass to the executable when running in debug mode.
0
votes
0answers
5 views
Facebook Debugger / Like button not working
When I input a product URL of our site to the Facebook Debugger, my response is "Sorry, something went wrong. We're working on getting this fixed as soon as we can. Go Back".
I'm wondering how long ...