OpenSUSE :: Debugger Exits Without Stopping At Breakpoints?
Sep 14, 2010
openSUSE 11.1
KDevelop 3.5.5 using KDE 3.5.10 "release 21.12.1"
gdb 6.8.50.
Problem: When I attempt to debug my program with breakpoints set the debugger does not stop at breakpoint. Message in gdb window is:
/bin/sh -c libtool gdb .../C++/Graphyxs/debug/./src/graphyxs --interpreter=mi2 -quiet
(gdb) set print static-members off
(gdb) Process exited
Attempted fix: Some forum posts suggest KDevelop upgrade. Upgraded from 3.5.4 to 3.5.5; gdb upgrade not available in openSUSE.
Other posts recommend assurance that debugger options are properly set. KDevelop Project Options has Compiler Flags -O0 -g3 with "debug" configuration.
In December I finally filled up my root partition and broke Suse 11.1. I therefore resized my partitions and installed Suse 11.3 on /root. I didn't not touch my /home partition.
I notice that when I leave my machine and come back the screen has locked. I have tried to turn off the screensaver, but it hasn't worked. I have Googled, but unfortunately the screen shots don't look like what I have and the instructions to stop this do not seem to match what I am seeing on the screen.
0.My home directory is leon 1.Open KDE Help Center 2.Go to Search Tab 3.Application Manual Index Status OK 4.Select Application Manual Index 5.Write the search term "lskat" and press Search button 6.Click on the only result
The following message box appears: The file or folder help:file:///home/leon/.kde4/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html does not exits
Also in the main window of khelpcenter the following message appears: There is no documentation available for /file:/home/leon/.kde4/share/apps/khelpcenter/index/kde_application_manuals.tmp/index.html
Is it possible to configure Yast Software Manager module so that it does not completely exit when done installing a package? It get's annoying to search for a package and install it, the software manager exits, you then have to reopen it, install another etc. a few minutes later.
Seems this would be a config option, but if so I can't seem to find it.
When I set breakpoints in eclipse CDT under fedora 9 and debug the program. But it never stops at the set breakpoints while I expect it to stop here, so that I can see the state of the program such as the call stack and values of the variables/objects etc.
Code: Multiple markers at this line - Unresolved breakpoint - Line breakpoint: dsdv.cc [line: 129]
Note that: 1. There is no error in the code. I am debugging for the sake of understanding the code:
Boot of a new minimal system hangs on "Stopping save kernel messages" or "stopping system v runlevel compatibility". I have ubuntu minimal iso x86_64 from usb stick created with unetbootin (don't have a cd drive on the machine in question), and after that I didsudo aptitude install gnome-terminal network-manager-gnome gdm geditsudo rebootnever got a system back. Annoyingly I can't boot into the recovery mode either, and it seems the keyboard is only semi-responsive (i.e. many dead keys when at the grub menu).qualms about reinstalling, but I've done this a few times and ended up at the same place every time.
I'm having trouble with printing a PDF that is in landscape mode. When I tell Okular or Adoble Reader to print a document in landscape mode, the text is Illegible. If I tell it to print as portrait mode, then I can read the text but the end is cut off and there is no way for me to tell Okular or Adobe Reader what the margins are. That option was grayed out.
I'm having another problem: When I cancel the job from the CUPS interface, it says it canceled the job but the printer keeps going and finishes whether I want it to or not. With 11.2, I was able to have it set up so that when I told it to stop the printer, it did so right away. Why can't I get the printer to stop in the middle of a job if I see something wrong with it so that I don't have to waste ink?
I'm running openSUSE 11.1. When I'm in Gnome or KDE or any Desktop session, the X server keeps running when I do an init 3, (i.e.) I'm still in the GUI instead of going to the console. When I type runlevel it shows that I'm in runlevel 3, but the X server is still running. The X server is not getting killed on an init 3.
.site gets appended to the end of the hostname every system bootup for me (e.g. hostname.site), even though I've changed the hostname in both the Network Settings and Hostnames sections of YaST. How can I stop this?
How do i use the Debugger in Linux. I am using Vi editor and terminal.For C and C++ programs.2. Any great tutorials or link.3. Is there any C and C++ IDE similiar to VC++? Were I can set breakpoints etc?4. Is makefile the option to compile multiple files while using Terminal for compiling?I would be delighted if someone can point me a valuable guide or book.
I'm a newbie on Linux and currently in the process of installing it. I'm planning to install the latest version of Apache, MySql, and PHP on the machine with a debugger on it. I haven't decided which debugger is suitable for this environment since I don't have any experience on it.
I've been using Eclipse PDT with Zend Debugger to debug my PHP web scripts for a while, but after installing Ubuntu 10.04, I've been having issues setting up the development environment again.
I have installed Apache 2.2.16 and PHP 5.2.14 manually.
Eclipse was installed from the Synaptic Package Manager. I installed the Zend debugger and PDT for Eclipse under Eclipse's Help -> Install New Software.
Yet whenever I try to debug a web script it executes the script without stopping at any of my breakpoints. The debug window immediately shows the debug session terminated.
The end of my php.ini file located in /usr/local/lib says:
I just installed 11.04 and found that the debugger gui, kdbg, is no longer in the repositories. I have all repos enabled except backports. I also tried to find any information about the fate of kdbg, whether it is just not yet packaged for 11.04, or whether it is discontinued, but to no avail.
If it is being discontinued, I'll probably roll my own .deb package and post it somewhere - kdbg is too good to drop, I think. And while we are at it?
I have created an application that has a executable program that loads in a shared object
the shared object loads in another shared object
both of these shared object I have created
For debugging I have been printf'in data to determine what is going on
I now have some odd memory issue, and need a bit more control over debugging...
I have one workspace set up and under my exectuable(will call maintest from now on) I have two items in my link libraries under project build options being soA and soB (so A is the shared object that maintest uses, soB is the SO that soA uses) I also have linker options pthread and ldl
At the beginning of my maintest I do my dlsym and load in each function that I will be using
I always run my program using maintest, because when I have one of the SO as the startup project(turns bold) and try to run it gives me "You must select a host application to run a library"
I tried to set up this host library, i Go to Menu->Project->SetProgramArguments and change the Host Application to the debug version of my maintest
I then hit OK and try to run again but I get the same error: "You must select a host application to run a library"
If I get this part working - which I need help doing, is tehre other steps that need to be taken to debug the so's? or will this make it so when i hit f8 it will run.
I am trying to install DDD on ubuntu 10.4. Downloaded the tar.gz file and followed the instructions given on DDD web page.But I am not able to install DDD. While trying to do './configure && make' I get the following error. It says c++ is not working and is not able to create executables. I have g++ installed and I successfully create excutables from .cpp files. I've also checked the CXX variable and it is set to /usr/bin where g++ is expected to be placed.
root@tirth-laptop:/home/tirth/Downloads/ddd-3.2.1# ./configure && make loading cache ./config.cache checking host system type... i686-pc-linux-gnu
(i) In office i open many terminal windows when i start my day and in each terminal i keep on login as different users many times in a day to do some task, by the end of the day when i need to exit from all terminals in a safeway instead of directly closing it i need to execute exit command or CTRL+D many times to close a single terminal safely. Can anybody tell me a way to exit from each terminal in single go, is there any command to acheive this ? I wish if we had a command like exitall like in vi we have :qa command to close multiple files opened in single window. I hope friends you have got what i am asking for ?
(ii) I want a software for debugging shellscripts searched a lot but dint got it.
in the past I've used lauterback hardware debuggers with have a really nice feature in breakpoints, basically you can set a "spot" point, where the debugger stops for a moment and refreshes all the variables in a window, then continues. It allows you to watch variables in "real" time. Is there a feature like this in GDB/DDD ?
is texlive package exits in fedora 12 ?i haven't found it.in previous release of fedora i was just installing kile and latex was working but in fedora 12 i think that tex doesn't exist.i wanna to know if it exist or not
I'm running VLC (full screen mode) on Ubuntu 10.04 with the gnome desktop. When I exit from VLC, it does not repaint the desktop. It leaves the entire screen white. I can click on the screen, and this causes the rectangle formed by the upper left corner of the screen and the current mouse position to get repainted. So, by clicking on the screen near the bottom right corner will repaint the desktop (mostly). Does anyone know how to fix this?
Whenever I exit certain sites, a prompt opens saying something along the lines of "Wait! You're gonna miss out on a crazy deal! .....!" And you have to press Ok to exit page or press Cancel to stay on site. On Chrome this doesn't show up. What addon will get rid of this. I'm hoping you guys are the firefox experts I think you are.
Quote: logcountfunction() { awk ' { # when executing the script pass the logfile as parameter on the command prompt with the name of the file #export file_name= "&1"
[Code]....
my problem is that when i execute this script only the first two functions are being called.once the DBcounttry_finalnofunc() is done ,the script exits.The rest of the functions are not being called.
I have new hardware (Nvidia Geforce GTX 960) which required new drivers. I'm running jessie but had to install the driver version 352.30 from the experimental repo. Everything seems to work fine, except after a suspend. On resume, the X server exists with errors, and I'm dropped back to the Linux console.
I've done a fair amount of searching, but the problem most people seem to have is corruption or black screen. I'm getting something equally annoying but less severe: I just get dropped back to the shell, but as soon as I restart the X server with startx everything continues to work... until the next suspend.
My full Xorg.0.log is at [URL] .... . Here are the errors that appear after the suspend:
Code: Select all[ 1772.779] (--) NVIDIA(GPU-0): DFP-6: disconnected [ 1772.779] (--) NVIDIA(GPU-0): DFP-6: Internal DisplayPort [ 1772.779] (--) NVIDIA(GPU-0): DFP-6: 960.0 MHz maximum pixel clock [ 1772.779] (--) NVIDIA(GPU-0): [ 1772.792] (II) NVIDIA(0): Setting mode "DFP-6:nvidia-auto-select" [ 1772.792] (WW) NVIDIA(0): Failed to set the display configuration
[Code] ....
The monitor is a Dell P2715Q running in its native 3840x2160 resolution at 60Hz.
I am running Fedora 13 Gnome. When I try to create a VPN connection using Network Manager (vpnc) it says that it cannot save the connection and exits out. I can provide other information if necessary.
I am using CentOS 5.4. I created a bash script that does some checking before running any commands. If the check fails, it will simply exit 0. The problem I am having is that on our server, the script will exit the su or ssh session when the exit 0 is called.
#!/bin/bash # check if directory has contents and exit if none if [ -z "`ls /ebs_raid/import/*.txt 2>/dev/null`" ]; then echo "ok" exit 0 fi
Here is the output: [root@ip-10-251-86-31 ebs_raid]# . test.sh ok [russ@ip-10-251-86-31 ebs_raid]$
I was removed from my sudo session, if I wasn't in the sudo session, it would have logged me out of my ssh session. I am not sure what I am doing wrong here or where to start.
I am using lucid and the adobe-flashplugin 10 package. When I watch programmes in fullscreen on the BBC iPlayer or Channel4-on-demand player it works fine but switches back to windowed mode after about 5 or 10 minutes. I put it back into fullscreen and the same thing happens after the same sort of time. I read this thread about flash switching out of fullscreen when the volume is adjusted, but I'm not adjusting the volume...how can I fix this?
I faced a issue with updating a file contents with echo command which fails with error as below: echo "foo" > bar //to create a file named "bar" echo "foobar" > bar //to edit its contents
The latter fails, it prompts "File exists" i.e. ~>echo "foo" > bar ~>echo "foobar" > bar bar: File exists. ~>cat bar foo ~>