I'd spend some time googling texts like this, if I were you: "symbol table
gdb netbeans"

And other things, based on the error messages you find in gdb.log, related
to 'gdb' and 'symbol table' and 'netbeans'.

Also, please, why not explore using the clang debugger which is also
supported by NetBeans, if what you want to do is debug you can also try a
different debugger.

Bear in mind that gdb or any other external technology is always going to
be fragile in relation to NetBeans, since these external technologies can
change and update anything at all from one release to the next and then the
integration with a tool like NetBeans may or may not be broken -- so it
makes sense to try all alternatives to one tool, e.g., gdb, when it doesn't
work, i.e., try clang too.

Gj

On Fri, Jul 5, 2019 at 11:43 AM Ulf Zibis <ulf.zi...@cosoco.de> wrote:

> I've found the gdb log.
>
> Interesting parts:
> 10-file-symbol-file "/home/ich/Projects/ffmpeg/test"
> 11-file-exec-file  "./ffmpeg_g"
>
> (gdb)
> 10^error,msg="/home/ich/Projects/ffmpeg/test: Ist ein Verzeichnis." --->
> english: "... is a direktory"
> (gdb)
> 11^done
> 12-file-list-exec-source-file
> 13-environment-cd /home/ich/Projects/ffmpeg/test
> 14-exec-arguments "-version"
> 15-break-insert -f "/home/ich/Projects/ffmpeg/test/fftools/ffmpeg.c:4848"
> (gdb)
> 12^error,msg="Es ist keine Symboltabelle geladen. Benutzen Sie den
> \302\273file\302\253-Befehl." ---> english: "... use the
> \302\273file\302\253-command."
>
> Have you any idea how to correct that?
>
> -Ulf
> Am 05.07.19 um 10:57 schrieb Geertjan Wielenga:
>
> gdb itself should have a log file too, maybe this helps:
> http://wiki.netbeans.org/GdbLog or not, but somewhere when you do those
> steps you should get a gdb log, that could help too. Once you find where it
> is generated, I'd advise to start from scratch, i.e, close the IDE, remove
> the userdir, reproduce the problem, and generate the gdb log.
>
> And at this point you have enough info for filing an issue, though it
> appears to be similar or exactly this:
> https://netbeans.org/bugzilla/show_bug.cgi?id=169842
>
> Aside from that, I'd advise switching to clang debugger to see if that
> will meet your needs.
>
> Gj
>
> On Fri, Jul 5, 2019 at 10:54 AM Ulf Zibis <ulf.zi...@cosoco.de> wrote:
>
>> Hi,
>>
>> here is the log from fresh userdir with on run of debugger. I don't see
>> any error, but warnings.
>>
>> -Ulf
>> Am 05.07.19 um 06:57 schrieb Geertjan Wielenga:
>>
>> Well, the solution is like always — start again with a fresh userdir and
>> recreate the problem, then you'll have log files that we can look at to see
>> the errors generated when the problem occurs. Also consider using a
>> different version of gdb to see if that makes a difference or switch from
>> gdb to clang debugger. In addition look on-line for issues about C/C++
>> debugger breakpoints not being hit in NetBeans, I’ve seen a few issues
>> about that, which appears to be the problem here.
>>
>> Gj
>>
>>
>> On Fri, 5 Jul 2019 at 01:27, Ulf Zibis <ulf.zi...@cosoco.de> wrote:
>>
>>> Hi,
>>>
>>> now I installed NB 11.1 beta-3 from here:
>>>
>>> https://github.com/rtaneja1/netbeans/blob/installer-bin-11-1/nbbuild/installer/binaries/Apache-NetBeans-11.1-bin-linux-x64.sh
>>>
>>> With this I have the same bad results when running the debugger. :-(
>>>
>>> Aside: I said the installer to install into
>>> /opt/netbeans/11.1/
>>> but it installed into
>>> /opt/netbeans/11.1/netbeans/
>>> Additionally it had deleted "/usr/share/applications/netbeans
>>> 10.0.desktop"
>>> and created "/usr/share/applications/NetBeans-11.1.desktop"
>>> I think, this is not correct.
>>>
>>> -Ulf
>>>
>>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to