Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Momentix IDE Debugger Error: Page 1 of 2 (36 Items)
   
Momentix IDE Debugger Error  
Greetings,

the Momentix/Eclipse IDE Debugger (maybe the used debugger is the reason, I am not sure here) messes up things 
completely when debugging QNX-Accplications with classes including static member pointers. After having initialized them
, when using "step in"or step over" debugging methods, the heap seems to be destroyed and return points, function 
boundaries etc. are  becoming invalid.

Attached file demonstrates the behaviour. How to reproduce: Start debugging an application, and press F6 or F5 or set a 
breakpoint at the point of the pointer initialization and afterwards use step in/over. Using F8 until the debugger 
reaches the entry point (main here) works around the bug. 

Best regards,
Andy

Attachment: Text momentixDebuggerBug.cpp 416 bytes
Re: Momentix IDE Debugger Error  
Which architecture, release and gdb version are you using?


Works for me on x86, 6.5.0, gdb 6.8 rev. 506 :



(gdb) b 21
Breakpoint 1 at 0x8048757: file 
/home/aristovski/testcases/forumproblem/main.cc, line 21.
(gdb) c
The program is not being run.
(gdb) r
Starting program: /shared/forumproblem_g
[New pid 225310 tid 1]

Breakpoint 1, __static_initialization_and_destruction_0 (__initialize_p=1,
     __priority=65535) at /home/aristovski/testcases/forumproblem/main.cc:21
21      int* testDebug::devastator = new int[666];
(gdb) step
32      }
(gdb)
0x080487c2 in __do_global_ctors_aux ()
(gdb)
Single stepping until exit from function __do_global_ctors_aux,
which has no line number information.
0x0804848e in _init ()
(gdb)
Single stepping until exit from function _init,
which has no line number information.
0x080485c9 in _start ()
(gdb)
Single stepping until exit from function _start,
which has no line number information.
0xb0367750 in _init_array () from /opt/qnx650/target/qnx6/x86/lib/libc.so.3
(gdb)
Single stepping until exit from function _init_array,
which has no line number information.
0x080485d8 in _start ()
(gdb)
Single stepping until exit from function _start,
which has no line number information.
main (argc=0x1, argv=134512356)
     at /home/aristovski/testcases/forumproblem/main.cc:24
24      {
(gdb)
26              int j=0;
(gdb)
27              for (int i=0; i < 9; ++i)
(gdb)
29                      j+=i;
(gdb)
27              for (int i=0; i < 9; ++i)

(gdb) show version
GNU gdb 6.8 qnx-nto (rev. 506)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu 
--target=i486-pc-nto-qnx6.5.0".


On 07/19/2011 07:47 AM, Andreas Beschorner wrote:
> Greetings,
>
> the Momentix/Eclipse IDE Debugger (maybe the used debugger is the
> reason, I am not sure here) messes up things completely when debugging
> QNX-Accplications with classes including static member pointers. After
> having initialized them, when using "step in"or step over" debugging
> methods, the heap seems to be destroyed and return points, function
> boundaries etc. are becoming invalid.
>
> Attached file demonstrates the behaviour. How to reproduce: Start
> debugging an application, and press F6 or F5 or set a breakpoint at the
> point of the pointer initialization and afterwards use step in/over.
> Using F8 until the debugger reaches the entry point (main here) works
> around the bug.
>
> Best regards,
> Andy
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87420
>
AW: Momentix IDE Debugger Error  
Greetings mate,

how can I get information about which gdb version is used within the toolchain?
As gdb is not installed on the virtual machine/ target I need to do this via the IDE somehow...

The system itself: X86 running QNX on a virtual machine in Windows 7 64bit, Momentix 6.5.0.

Thanks for help,
Andreas

-----Ursprüngliche Nachricht-----
Von: Aleksandar Ristovski [mailto:community-noreply@qnx.com] 
Gesendet: Dienstag, 19. Juli 2011 15:17
An: general-ide
Betreff: Re: Momentix IDE Debugger Error

Which architecture, release and gdb version are you using?


Works for me on x86, 6.5.0, gdb 6.8 rev. 506 :



(gdb) b 21
Breakpoint 1 at 0x8048757: file 
/home/aristovski/testcases/forumproblem/main.cc, line 21.
(gdb) c
The program is not being run.
(gdb) r
Starting program: /shared/forumproblem_g
[New pid 225310 tid 1]

Breakpoint 1, __static_initialization_and_destruction_0 (__initialize_p=1,
     __priority=65535) at /home/aristovski/testcases/forumproblem/main.cc:21
21      int* testDebug::devastator = new int[666];
(gdb) step
32      }
(gdb)
0x080487c2 in __do_global_ctors_aux ()
(gdb)
Single stepping until exit from function __do_global_ctors_aux,
which has no line number information.
0x0804848e in _init ()
(gdb)
Single stepping until exit from function _init,
which has no line number information.
0x080485c9 in _start ()
(gdb)
Single stepping until exit from function _start,
which has no line number information.
0xb0367750 in _init_array () from /opt/qnx650/target/qnx6/x86/lib/libc.so.3
(gdb)
Single stepping until exit from function _init_array,
which has no line number information.
0x080485d8 in _start ()
(gdb)
Single stepping until exit from function _start,
which has no line number information.
main (argc=0x1, argv=134512356)
     at /home/aristovski/testcases/forumproblem/main.cc:24
24      {
(gdb)
26              int j=0;
(gdb)
27              for (int i=0; i < 9; ++i)
(gdb)
29                      j+=i;
(gdb)
27              for (int i=0; i < 9; ++i)

(gdb) show version
GNU gdb 6.8 qnx-nto (rev. 506)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu 
--target=i486-pc-nto-qnx6.5.0".


On 07/19/2011 07:47 AM, Andreas Beschorner wrote:
> Greetings,
>
> the Momentix/Eclipse IDE Debugger (maybe the used debugger is the
> reason, I am not sure here) messes up things completely when debugging
> QNX-Accplications with classes including static member pointers. After
> having initialized them, when using "step in"or step over" debugging
> methods, the heap seems to be destroyed and return points, function
> boundaries etc. are becoming invalid.
>
> Attached file demonstrates the behaviour. How to reproduce: Start
> debugging an application, and press F6 or F5 or set a breakpoint at the
> point of the pointer initialization and afterwards use step in/over.
> Using F8 until the debugger reaches the entry point (main here) works
> around the bug.
>
> Best regards,
> Andy
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87420
>




_______________________________________________

General
http://community.qnx.com/sf/go/post87421


-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
Re: AW: Momentix IDE Debugger Error  
In your IDE, debug perspective, click on the gdb entry in the left-hand 
side view where thread, inferior, is shown in a tree. Bottom view should 
then show gdb console. In it, type:

show version

it will print the version.

Another way is to open your 'cmd.exe' and type:

C:> ntox86-gdb
(gdb) show version


Could you turn on verbose logging in the IDE, in your debug 
configuration, Debugger tab, scroll down and check the checkbox. Then 
copy the output from gdb console and paste it here (or in an attached file).







On 07/19/2011 09:25 AM, Andreas Beschorner wrote:
> Greetings mate,
>
> how can I get information about which gdb version is used within the toolchain?
> As gdb is not installed on the virtual machine/ target I need to do this via the IDE somehow...
>
> The system itself: X86 running QNX on a virtual machine in Windows 7 64bit, Momentix 6.5.0.
>
> Thanks for help,
> Andreas
>
> -----Ursprüngliche Nachricht-----
> Von: Aleksandar Ristovski [mailto:community-noreply@qnx.com]
> Gesendet: Dienstag, 19. Juli 2011 15:17
> An: general-ide
> Betreff: Re: Momentix IDE Debugger Error
>
> Which architecture, release and gdb version are you using?
>
>
> Works for me on x86, 6.5.0, gdb 6.8 rev. 506 :
>
>
>
> (gdb) b 21
> Breakpoint 1 at 0x8048757: file
> /home/aristovski/testcases/forumproblem/main.cc, line 21.
> (gdb) c
> The program is not being run.
> (gdb) r
> Starting program: /shared/forumproblem_g
> [New pid 225310 tid 1]
>
> Breakpoint 1, __static_initialization_and_destruction_0 (__initialize_p=1,
>       __priority=65535) at /home/aristovski/testcases/forumproblem/main.cc:21
> 21      int* testDebug::devastator = new int[666];
> (gdb) step
> 32      }
> (gdb)
> 0x080487c2 in __do_global_ctors_aux ()
> (gdb)
> Single stepping until exit from function __do_global_ctors_aux,
> which has no line number information.
> 0x0804848e in _init ()
> (gdb)
> Single stepping until exit from function _init,
> which has no line number information.
> 0x080485c9 in _start ()
> (gdb)
> Single stepping until exit from function _start,
> which has no line number information.
> 0xb0367750 in _init_array () from /opt/qnx650/target/qnx6/x86/lib/libc.so.3
> (gdb)
> Single stepping until exit from function _init_array,
> which has no line number information.
> 0x080485d8 in _start ()
> (gdb)
> Single stepping until exit from function _start,
> which has no line number information.
> main (argc=0x1, argv=134512356)
>       at /home/aristovski/testcases/forumproblem/main.cc:24
> 24      {
> (gdb)
> 26              int j=0;
> (gdb)
> 27              for (int i=0; i<  9; ++i)
> (gdb)
> 29                      j+=i;
> (gdb)
> 27              for (int i=0; i<  9; ++i)
>
> (gdb) show version
> GNU gdb 6.8 qnx-nto (rev. 506)
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>;
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "--host=i686-pc-linux-gnu
> --target=i486-pc-nto-qnx6.5.0".
>
>
> On 07/19/2011 07:47 AM, Andreas Beschorner wrote:
>> Greetings,
>>
>> the Momentix/Eclipse IDE Debugger (maybe the used debugger is the
>> reason, I am not sure here) messes up things completely when debugging
>> QNX-Accplications with classes including static member pointers. After
>> having initialized them, when using "step in"or step over" debugging
>> methods, the heap seems to be destroyed and return...
View Full Message
AW: Momentix IDE Debugger Error  
Hi again,

gdb 6.8, rev. 506 here, too


-----Ursprüngliche Nachricht-----
Von: Aleksandar Ristovski [mailto:community-noreply@qnx.com] 
Gesendet: Dienstag, 19. Juli 2011 15:17
An: general-ide
Betreff: Re: Momentix IDE Debugger Error

Which architecture, release and gdb version are you using?


Works for me on x86, 6.5.0, gdb 6.8 rev. 506 :



(gdb) b 21
Breakpoint 1 at 0x8048757: file 
/home/aristovski/testcases/forumproblem/main.cc, line 21.
(gdb) c
The program is not being run.
(gdb) r
Starting program: /shared/forumproblem_g
[New pid 225310 tid 1]

Breakpoint 1, __static_initialization_and_destruction_0 (__initialize_p=1,
     __priority=65535) at /home/aristovski/testcases/forumproblem/main.cc:21
21      int* testDebug::devastator = new int[666];
(gdb) step
32      }
(gdb)
0x080487c2 in __do_global_ctors_aux ()
(gdb)
Single stepping until exit from function __do_global_ctors_aux,
which has no line number information.
0x0804848e in _init ()
(gdb)
Single stepping until exit from function _init,
which has no line number information.
0x080485c9 in _start ()
(gdb)
Single stepping until exit from function _start,
which has no line number information.
0xb0367750 in _init_array () from /opt/qnx650/target/qnx6/x86/lib/libc.so.3
(gdb)
Single stepping until exit from function _init_array,
which has no line number information.
0x080485d8 in _start ()
(gdb)
Single stepping until exit from function _start,
which has no line number information.
main (argc=0x1, argv=134512356)
     at /home/aristovski/testcases/forumproblem/main.cc:24
24      {
(gdb)
26              int j=0;
(gdb)
27              for (int i=0; i < 9; ++i)
(gdb)
29                      j+=i;
(gdb)
27              for (int i=0; i < 9; ++i)

(gdb) show version
GNU gdb 6.8 qnx-nto (rev. 506)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu 
--target=i486-pc-nto-qnx6.5.0".


On 07/19/2011 07:47 AM, Andreas Beschorner wrote:
> Greetings,
>
> the Momentix/Eclipse IDE Debugger (maybe the used debugger is the
> reason, I am not sure here) messes up things completely when debugging
> QNX-Accplications with classes including static member pointers. After
> having initialized them, when using "step in"or step over" debugging
> methods, the heap seems to be destroyed and return points, function
> boundaries etc. are becoming invalid.
>
> Attached file demonstrates the behaviour. How to reproduce: Start
> debugging an application, and press F6 or F5 or set a breakpoint at the
> point of the pointer initialization and afterwards use step in/over.
> Using F8 until the debugger reaches the entry point (main here) works
> around the bug.
>
> Best regards,
> Andy
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87420
>




_______________________________________________

General
http://community.qnx.com/sf/go/post87421


-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
AW: Momentix IDE Debugger Error  
And greetings again,

a colleague of mine hast the same problem as I have. Are you sure you debugged starting F11 and then using F6 and not F8
 or so?

I am having really a lot of problems with the IDE at the moment. Crashes a lot when debugging whereas the executables 
run fine, mudflap shows lots of out of bound errors, when profiling function calls running a program for about 4 minutes
 I get functions using 1900s or more -- you name it...

Best regards,
Andy


-----Ursprüngliche Nachricht-----
Von: Aleksandar Ristovski [mailto:community-noreply@qnx.com] 
Gesendet: Dienstag, 19. Juli 2011 15:17
An: general-ide
Betreff: Re: Momentix IDE Debugger Error

Which architecture, release and gdb version are you using?


Works for me on x86, 6.5.0, gdb 6.8 rev. 506 :



(gdb) b 21
Breakpoint 1 at 0x8048757: file 
/home/aristovski/testcases/forumproblem/main.cc, line 21.
(gdb) c
The program is not being run.
(gdb) r
Starting program: /shared/forumproblem_g
[New pid 225310 tid 1]

Breakpoint 1, __static_initialization_and_destruction_0 (__initialize_p=1,
     __priority=65535) at /home/aristovski/testcases/forumproblem/main.cc:21
21      int* testDebug::devastator = new int[666];
(gdb) step
32      }
(gdb)
0x080487c2 in __do_global_ctors_aux ()
(gdb)
Single stepping until exit from function __do_global_ctors_aux,
which has no line number information.
0x0804848e in _init ()
(gdb)
Single stepping until exit from function _init,
which has no line number information.
0x080485c9 in _start ()
(gdb)
Single stepping until exit from function _start,
which has no line number information.
0xb0367750 in _init_array () from /opt/qnx650/target/qnx6/x86/lib/libc.so.3
(gdb)
Single stepping until exit from function _init_array,
which has no line number information.
0x080485d8 in _start ()
(gdb)
Single stepping until exit from function _start,
which has no line number information.
main (argc=0x1, argv=134512356)
     at /home/aristovski/testcases/forumproblem/main.cc:24
24      {
(gdb)
26              int j=0;
(gdb)
27              for (int i=0; i < 9; ++i)
(gdb)
29                      j+=i;
(gdb)
27              for (int i=0; i < 9; ++i)

(gdb) show version
GNU gdb 6.8 qnx-nto (rev. 506)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu 
--target=i486-pc-nto-qnx6.5.0".


On 07/19/2011 07:47 AM, Andreas Beschorner wrote:
> Greetings,
>
> the Momentix/Eclipse IDE Debugger (maybe the used debugger is the
> reason, I am not sure here) messes up things completely when debugging
> QNX-Accplications with classes including static member pointers. After
> having initialized them, when using "step in"or step over" debugging
> methods, the heap seems to be destroyed and return points, function
> boundaries etc. are becoming invalid.
>
> Attached file demonstrates the behaviour. How to reproduce: Start
> debugging an application, and press F6 or F5 or set a breakpoint at the
> point of the pointer initialization and afterwards use step in/over.
> Using F8 until the debugger reaches the entry point (main here) works
> around the bug.
>
> Best regards,
> Andy
>
>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87420
>




_______________________________________________

General
http://community.qnx.com/sf/go/post87421


-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
Re: AW: Momentix IDE Debugger Error  
I used gdb from command line.

For diagnosing IDE/gdb interaction, please capture verbose gdb log so we 
can take a look.



On 07/19/2011 09:45 AM, Andreas Beschorner wrote:
> And greetings again,
>
> a colleague of mine hast the same problem as I have. Are you sure you debugged starting F11 and then using F6 and not 
F8 or so?
>
> I am having really a lot of problems with the IDE at the moment. Crashes a lot when debugging whereas the executables 
run fine, mudflap shows lots of out of bound errors, when profiling function calls running a program for about 4 minutes
 I get functions using 1900s or more -- you name it...
>
> Best regards,
> Andy
>
>
> -----Ursprüngliche Nachricht-----
> Von: Aleksandar Ristovski [mailto:community-noreply@qnx.com]
> Gesendet: Dienstag, 19. Juli 2011 15:17
> An: general-ide
> Betreff: Re: Momentix IDE Debugger Error
>
> Which architecture, release and gdb version are you using?
>
>
> Works for me on x86, 6.5.0, gdb 6.8 rev. 506 :
>
>
>
> (gdb) b 21
> Breakpoint 1 at 0x8048757: file
> /home/aristovski/testcases/forumproblem/main.cc, line 21.
> (gdb) c
> The program is not being run.
> (gdb) r
> Starting program: /shared/forumproblem_g
> [New pid 225310 tid 1]
>
> Breakpoint 1, __static_initialization_and_destruction_0 (__initialize_p=1,
>       __priority=65535) at /home/aristovski/testcases/forumproblem/main.cc:21
> 21      int* testDebug::devastator = new int[666];
> (gdb) step
> 32      }
> (gdb)
> 0x080487c2 in __do_global_ctors_aux ()
> (gdb)
> Single stepping until exit from function __do_global_ctors_aux,
> which has no line number information.
> 0x0804848e in _init ()
> (gdb)
> Single stepping until exit from function _init,
> which has no line number information.
> 0x080485c9 in _start ()
> (gdb)
> Single stepping until exit from function _start,
> which has no line number information.
> 0xb0367750 in _init_array () from /opt/qnx650/target/qnx6/x86/lib/libc.so.3
> (gdb)
> Single stepping until exit from function _init_array,
> which has no line number information.
> 0x080485d8 in _start ()
> (gdb)
> Single stepping until exit from function _start,
> which has no line number information.
> main (argc=0x1, argv=134512356)
>       at /home/aristovski/testcases/forumproblem/main.cc:24
> 24      {
> (gdb)
> 26              int j=0;
> (gdb)
> 27              for (int i=0; i<  9; ++i)
> (gdb)
> 29                      j+=i;
> (gdb)
> 27              for (int i=0; i<  9; ++i)
>
> (gdb) show version
> GNU gdb 6.8 qnx-nto (rev. 506)
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>;
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "--host=i686-pc-linux-gnu
> --target=i486-pc-nto-qnx6.5.0".
>
>
> On 07/19/2011 07:47 AM, Andreas Beschorner wrote:
>> Greetings,
>>
>> the Momentix/Eclipse IDE Debugger (maybe the used debugger is the
>> reason, I am not sure here) messes up things completely when debugging
>> QNX-Accplications with classes including static member pointers. After
>> having initialized them, when using "step in"or step over" debugging
>> methods, the heap seems to be destroyed and return points, function
>> boundaries etc. are becoming invalid.
>>
>> Attached file demonstrates the behaviour. How to reproduce: Start
>> debugging an application, and press F6 or F5 or set a breakpoint at the
>> point of the pointer...
View Full Message
Re: AW: Momentix IDE Debugger Error  
Crashes a lot when debugging - could be a problem with app itself which only manifests when debugging, this happens a 
lot - memory layout and contents is
diffrent when app has debug symbols. For debugging make sure your library and binaries exactly the same on host & target - library mismatch can cause this behavior.
Mudflap known to have lots of false positives. Try memory analysis instead.

On 07/19/2011 09:45 AM, Andreas Beschorner wrote:
> And 
greetings again,
> 
> a colleague of mine hast the same problem as I have. Are you sure you debugged starting F11 and then using F6 and not 
F8 or so?
> 
> I am having really a lot of problems with the IDE at the moment. Crashes a lot when debugging whereas the executables 
run fine, mudflap shows lots of out of bound errors, when profiling function calls running a program for about 4 minutes
 I get functions using 1900s or more -- you name it...
> 
> Best regards,
> Andy
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Aleksandar Ristovski [mailto:community-noreply@qnx.com] 
> Gesendet: Dienstag, 19. Juli 2011 15:17
> An: general-ide
> Betreff: Re: Momentix IDE Debugger Error
> 
> Which architecture, release and gdb version are you using?
> 
> 
> Works for me on x86, 6.5.0, gdb 6.8 rev. 506 :
> 
> 
> 
> (gdb) b 21
> Breakpoint 1 at 0x8048757: file 
> /home/aristovski/testcases/forumproblem/main.cc, line 21.
> (gdb) c
> The program is not being run.
> (gdb) r
> Starting program: /shared/forumproblem_g
> [New pid 225310 tid 1]
> 
> Breakpoint 1, __static_initialization_and_destruction_0 (__initialize_p=1,
>      __priority=65535) at /home/aristovski/testcases/forumproblem/main.cc:21
> 21      int* testDebug::devastator = new int[666];
> (gdb) step
> 32      }
> (gdb)
> 0x080487c2 in __do_global_ctors_aux ()
> (gdb)
> Single stepping until exit from function __do_global_ctors_aux,
> which has no line number information.
> 0x0804848e in _init ()
> (gdb)
> Single stepping until exit from function _init,
> which has no line number information.
> 0x080485c9 in _start ()
> (gdb)
> Single stepping until exit from function _start,
> which has no line number information.
> 0xb0367750 in _init_array () from /opt/qnx650/target/qnx6/x86/lib/libc.so.3
> (gdb)
> Single stepping until exit from function _init_array,
> which has no line number information.
> 0x080485d8 in _start ()
> (gdb)
> Single stepping until exit from function _start,
> which has no line number information.
> main (argc=0x1, argv=134512356)
>      at /home/aristovski/testcases/forumproblem/main.cc:24
> 24      {
> (gdb)
> 26              int j=0;
> (gdb)
> 27              for (int i=0; i < 9; ++i)
> (gdb)
> 29                      j+=i;
> (gdb)
> 27              for (int i=0; i < 9; ++i)
> 
> (gdb) show version
> GNU gdb 6.8 qnx-nto (rev. 506)
> Copyright (C) 2008 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later 
> <http://gnu.org/licenses/gpl.html>;
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "--host=i686-pc-linux-gnu 
> --target=i486-pc-nto-qnx6.5.0".
> 
> 
> On 07/19/2011 07:47 AM, Andreas Beschorner wrote:
>> Greetings,
>>
>> the Momentix/Eclipse IDE Debugger (maybe the used debugger is the
>> reason, I am not sure here) messes up things completely when debugging
>> QNX-Accplications with classes including static member pointers. After
>> having initialized them, when using "step in"or step over" debugging
>> methods, the heap seems to be destroyed...
View Full Message
Re: AW: Momentix IDE Debugger Error  
Greetings Elena and Aleksandar,

@Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library confusion
. For large programs, your advice or different or unwanted behaviour is true, but the small program attached should 
really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can do.

@Aleksandar: Find attached a zip-file with 5 images debugXX.png,
01) Starting the debugger and stopping at the  breakpoint where the reference is created
02 .. 04) After pressing F6 once each time
0x) Several F6 presses later

I also included the disassembly which shows that basically indirect addresses seem ok....

Best regards and thanks in advance for help,
Andreas
Attachment: Compressed file debug.zip 337.26 KB
Re: AW: Momentix IDE Debugger Error  
Debug and Release are in different directories on target or on host? How do you launch? Do you upload binary and all 
libraries every time?

On 07/19/2011 10:51 AM, Andreas Beschorner wrote:
> Greetings Elena and Aleksandar,
> 
> @Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library 
confusion. For large programs, your advice or different or unwanted behaviour is true, but the small program attached 
should really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can do.
> 
> @Aleksandar: Find attached a zip-file with 5 images debugXX.png,
> 01) Starting the debugger and stopping at the  breakpoint where the reference is created
> 02 .. 04) After pressing F6 once each time
> 0x) Several F6 presses later
> 
> I also included the disassembly which shows that basically indirect addresses seem ok....
> 
> Best regards and thanks in advance for help,
> Andreas
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87431
AW: AW: Momentix IDE Debugger Error  
Hoi,

yes, I either upload or drag&drop them manually and execute them on the target. When testing, nothing can be too save!


-----Ursprüngliche Nachricht-----
Von: Elena Laskavaia [mailto:community-noreply@qnx.com] 
Gesendet: Dienstag, 19. Juli 2011 16:59
An: general-ide
Betreff: Re: AW: Momentix IDE Debugger Error

Debug and Release are in different directories on target or on host? How do you launch? Do you upload binary and all libraries every time?

On 07/19/2011 10:51 AM, Andreas Beschorner wrote:
> Greetings Elena and Aleksandar,
> 
> @Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library 
confusion. For large programs, your advice or different or unwanted behaviour is true, but the small program attached 
should really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can do.
> 
> @Aleksandar: Find attached a zip-file with 5 images debugXX.png,
> 01) Starting the debugger and stopping at the  breakpoint where the reference is created
> 02 .. 04) After pressing F6 once each time
> 0x) Several F6 presses later
> 
> I also included the disassembly which shows that basically indirect addresses seem ok....
> 
> Best regards and thanks in advance for help,
> Andreas
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87431



_______________________________________________

General
http://community.qnx.com/sf/go/post87432


-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
Re: AW: AW: Momentix IDE Debugger Error  
I just tried your example with the IDE and it worked for me without 
issues. (used step after hitting the breakpoint).

Can you provide more details:
- complete build log of your project,
- verbose debug output from gdb: turn on verbose debug output in your 
debug configuration, "Debugger" tab, check "Verbose console mode".


Thanks,

Aleksandar

On 07/19/2011 11:01 AM, Andreas Beschorner wrote:
> Hoi,
>
> yes, I either upload or drag&drop them manually and execute them on the target. When testing, nothing can be too save!
>
>
> -----Ursprüngliche Nachricht-----
> Von: Elena Laskavaia [mailto:community-noreply@qnx.com]
> Gesendet: Dienstag, 19. Juli 2011 16:59
> An: general-ide
> Betreff: Re: AW: Momentix IDE Debugger Error
>
> Debug and Release are in different directories on target or on host? How do you launch? Do you upload binary and all 
libraries every time?
>
> On 07/19/2011 10:51 AM, Andreas Beschorner wrote:
>> Greetings Elena and Aleksandar,
>>
>> @Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library 
confusion. For large programs, your advice or different or unwanted behaviour is true, but the small program attached 
should really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can do.
>>
>> @Aleksandar: Find attached a zip-file with 5 images debugXX.png,
>> 01) Starting the debugger and stopping at the  breakpoint where the reference is created
>> 02 .. 04) After pressing F6 once each time
>> 0x) Several F6 presses later
>>
>> I also included the disassembly which shows that basically indirect addresses seem ok....
>>
>> Best regards and thanks in advance for help,
>> Andreas
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post87431
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87432
>
>
Re: AW: AW: Momentix IDE Debugger Error  
Try using qnx launch configurations which upload binary for you (and related library if you have custom libraries)
Also check the console for errors especially for mismatches.

On 07/19/2011 11:01 AM, Andreas Beschorner wrote:
> Hoi,
> 
> yes, I either upload or drag&drop them manually and execute them on the target. When testing, nothing can be too save!
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Elena Laskavaia [mailto:community-noreply@qnx.com] 
> Gesendet: Dienstag, 19. Juli 2011 16:59
> An: general-ide
> Betreff: Re: AW: Momentix IDE Debugger Error
> 
> Debug and Release are in different directories on target or on host? How do you launch? Do you upload binary and all 
libraries every time?
> 
> On 07/19/2011 10:51 AM, Andreas Beschorner wrote:
>> Greetings Elena and Aleksandar,
>>
>> @Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library 
confusion. For large programs, your advice or different or unwanted behaviour is true, but the small program attached 
should really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can do.
>>
>> @Aleksandar: Find attached a zip-file with 5 images debugXX.png,
>> 01) Starting the debugger and stopping at the  breakpoint where the reference is created
>> 02 .. 04) After pressing F6 once each time
>> 0x) Several F6 presses later
>>
>> I also included the disassembly which shows that basically indirect addresses seem ok....
>>
>> Best regards and thanks in advance for help,
>> Andreas
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post87431
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87432
> 
> 
RE: AW: AW: Momentix IDE Debugger Error  
I wrote a script using samba client copy commands which connects to the windows platform and copies all necessary 
libraries and executables, so I do not need to start any launch configuration and thus do not run into problems when 
several apps access the same libs, which often leads to "already in use" conflicts.
And all checks are done: Nothing missing and no incorrect libraries involved.

Regards,
A.

________________________________________
From: Elena Laskavaia [community-noreply@qnx.com]
Sent: Tuesday, July 19, 2011 5:11 PM
To: general-ide
Subject: Re: AW: AW: Momentix IDE Debugger Error

Try using qnx launch configurations which upload binary for you (and related library if you have custom libraries)
Also check the console for errors especially for mismatches.

On 07/19/2011 11:01 AM, Andreas Beschorner wrote:
> Hoi,
>
> yes, I either upload or drag&drop them manually and execute them on the target. When testing, nothing can be too save!
>
>
> -----Ursprüngliche Nachricht-----
> Von: Elena Laskavaia [mailto:community-noreply@qnx.com]
> Gesendet: Dienstag, 19. Juli 2011 16:59
> An: general-ide
> Betreff: Re: AW: Momentix IDE Debugger Error
>
> Debug and Release are in different directories on target or on host? How do you launch? Do you upload binary and all 
libraries every time?
>
> On 07/19/2011 10:51 AM, Andreas Beschorner wrote:
>> Greetings Elena and Aleksandar,
>>
>> @Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library 
confusion. For large programs, your advice or different or unwanted behaviour is true, but the small program attached 
should really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can do.
>>
>> @Aleksandar: Find attached a zip-file with 5 images debugXX.png,
>> 01) Starting the debugger and stopping at the  breakpoint where the reference is created
>> 02 .. 04) After pressing F6 once each time
>> 0x) Several F6 presses later
>>
>> I also included the disassembly which shows that basically indirect addresses seem ok....
>>
>> Best regards and thanks in advance for help,
>> Andreas
>>
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post87431
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87432
>
>



_______________________________________________

General
http://community.qnx.com/sf/go/post87435

--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

Re: AW: AW: Momentix IDE Debugger Error  
If you not using proper way of debugging I cannot really help you.

On 07/19/2011 01:51 PM, Andreas Beschorner wrote:
> I wrote a script using samba client copy commands which connects to the windows platform and copies all necessary 
libraries and executables, so I do not need to start any launch configuration and thus do not run into problems when 
several apps access the same libs, which often leads to "already in use" conflicts.
> And all checks are done: Nothing missing and no incorrect libraries involved.
> 
> Regards,
> A.
> 
> ________________________________________
> From: Elena Laskavaia [community-noreply@qnx.com]
> Sent: Tuesday, July 19, 2011 5:11 PM
> To: general-ide
> Subject: Re: AW: AW: Momentix IDE Debugger Error
> 
> Try using qnx launch configurations which upload binary for you (and related library if you have custom libraries)
> Also check the console for errors especially for mismatches.
> 
> On 07/19/2011 11:01 AM, Andreas Beschorner wrote:
>> Hoi,
>>
>> yes, I either upload or drag&drop them manually and execute them on the target. When testing, nothing can be too save!
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Elena Laskavaia [mailto:community-noreply@qnx.com]
>> Gesendet: Dienstag, 19. Juli 2011 16:59
>> An: general-ide
>> Betreff: Re: AW: Momentix IDE Debugger Error
>>
>> Debug and Release are in different directories on target or on host? How do you launch? Do you upload binary and all 
libraries every time?
>>
>> On 07/19/2011 10:51 AM, Andreas Beschorner wrote:
>>> Greetings Elena and Aleksandar,
>>>
>>> @Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library 
confusion. For large programs, your advice or different or unwanted behaviour is true, but the small program attached 
should really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can do.
>>>
>>> @Aleksandar: Find attached a zip-file with 5 images debugXX.png,
>>> 01) Starting the debugger and stopping at the  breakpoint where the reference is created
>>> 02 .. 04) After pressing F6 once each time
>>> 0x) Several F6 presses later
>>>
>>> I also included the disassembly which shows that basically indirect addresses seem ok....
>>>
>>> Best regards and thanks in advance for help,
>>> Andreas
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> General
>>> http://community.qnx.com/sf/go/post87431
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post87432
>>
>>
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87435
> 
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87437
RE: AW: AW: Momentix IDE Debugger Error  
Ahem, what do you mean by saying I do not use a proper way of debugging?? I made things as problemless as possible by 
using scripts and commands to avoid problems coming from run configurations where multiple applications access identical
 libraries which leads to conflicts, as you cannot upload libraries already in use. I use different directories for 
release and debug version avoiding library mess, and the consoles do not show any errors at all. That is basically what 
you suggested but additionally avoiding potential problems in your setup...

Hope I do not sound rude, sorry if so.

Regards,
G.

________________________________________
From: Elena Laskavaia [community-noreply@qnx.com]
Sent: Tuesday, July 19, 2011 8:08 PM
To: general-ide
Subject: Re: AW: AW: Momentix IDE Debugger Error

If you not using proper way of debugging I cannot really help you.

On 07/19/2011 01:51 PM, Andreas Beschorner wrote:
> I wrote a script using samba client copy commands which connects to the windows platform and copies all necessary 
libraries and executables, so I do not need to start any launch configuration and thus do not run into problems when 
several apps access the same libs, which often leads to "already in use" conflicts.
> And all checks are done: Nothing missing and no incorrect libraries involved.
>
> Regards,
> A.
>
> ________________________________________
> From: Elena Laskavaia [community-noreply@qnx.com]
> Sent: Tuesday, July 19, 2011 5:11 PM
> To: general-ide
> Subject: Re: AW: AW: Momentix IDE Debugger Error
>
> Try using qnx launch configurations which upload binary for you (and related library if you have custom libraries)
> Also check the console for errors especially for mismatches.
>
> On 07/19/2011 11:01 AM, Andreas Beschorner wrote:
>> Hoi,
>>
>> yes, I either upload or drag&drop them manually and execute them on the target. When testing, nothing can be too save!
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: Elena Laskavaia [mailto:community-noreply@qnx.com]
>> Gesendet: Dienstag, 19. Juli 2011 16:59
>> An: general-ide
>> Betreff: Re: AW: Momentix IDE Debugger Error
>>
>> Debug and Release are in different directories on target or on host? How do you launch? Do you upload binary and all 
libraries every time?
>>
>> On 07/19/2011 10:51 AM, Andreas Beschorner wrote:
>>> Greetings Elena and Aleksandar,
>>>
>>> @Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library 
confusion. For large programs, your advice or different or unwanted behaviour is true, but the small program attached 
should really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can do.
>>>
>>> @Aleksandar: Find attached a zip-file with 5 images debugXX.png,
>>> 01) Starting the debugger and stopping at the  breakpoint where the reference is created
>>> 02 .. 04) After pressing F6 once each time
>>> 0x) Several F6 presses later
>>>
>>> I also included the disassembly which shows that basically indirect addresses seem ok....
>>>
>>> Best regards and thanks in advance for help,
>>> Andreas
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>>
>>> General
>>> http://community.qnx.com/sf/go/post87431
>>
>>
>>
>> _______________________________________________
>>
>> General
>> http://community.qnx.com/sf/go/post87432
>>
>>
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post87435
>
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be...
Post Deleted
Re: AW: AW: Momentix IDE Debugger Error  
If you avoiding safety guards and uploading new libraries on top of ones which are used by debugger already this may 
cause problems, 
there is a reason why IDE does not do that.

On 07/19/2011 03:00 PM, Andreas Beschorner wrote:
> Ahem, what do you mean by saying I do not use a proper way of debugging?? I made things as problemless as possible by 
using scripts and commands to avoid problems coming from run configurations where multiple applications access identical
 libraries which leads to conflicts, as you cannot upload libraries already in use. I use different directories for 
release and debug version avoiding library mess, and the consoles do not show any errors at all. That is basically what 
you suggested but additionally avoiding potential problems in your setup...
> 
> Hope I do not sound rude, sorry if so.
> 
> Regards,
> G.
> 
> ________________________________________
> From: Elena Laskavaia [community-noreply@qnx.com]
> Sent: Tuesday, July 19, 2011 8:08 PM
> To: general-ide
> Subject: Re: AW: AW: Momentix IDE Debugger Error
> 
> If you not using proper way of debugging I cannot really help you.
> 
> On 07/19/2011 01:51 PM, Andreas Beschorner wrote:
>> I wrote a script using samba client copy commands which connects to the windows platform and copies all necessary 
libraries and executables, so I do not need to start any launch configuration and thus do not run into problems when 
several apps access the same libs, which often leads to "already in use" conflicts.
>> And all checks are done: Nothing missing and no incorrect libraries involved.
>>
>> Regards,
>> A.
>>
>> ________________________________________
>> From: Elena Laskavaia [community-noreply@qnx.com]
>> Sent: Tuesday, July 19, 2011 5:11 PM
>> To: general-ide
>> Subject: Re: AW: AW: Momentix IDE Debugger Error
>>
>> Try using qnx launch configurations which upload binary for you (and related library if you have custom libraries)
>> Also check the console for errors especially for mismatches.
>>
>> On 07/19/2011 11:01 AM, Andreas Beschorner wrote:
>>> Hoi,
>>>
>>> yes, I either upload or drag&drop them manually and execute them on the target. When testing, nothing can be too save!
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Elena Laskavaia [mailto:community-noreply@qnx.com]
>>> Gesendet: Dienstag, 19. Juli 2011 16:59
>>> An: general-ide
>>> Betreff: Re: AW: Momentix IDE Debugger Error
>>>
>>> Debug and Release are in different directories on target or on host? How do you launch? Do you upload binary and all
 libraries every time?
>>>
>>> On 07/19/2011 10:51 AM, Andreas Beschorner wrote:
>>>> Greetings Elena and Aleksandar,
>>>>
>>>> @Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library 
confusion. For large programs, your advice or different or unwanted behaviour is true, but the small program attached 
should really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can do.
>>>>
>>>> @Aleksandar: Find attached a zip-file with 5 images debugXX.png,
>>>> 01) Starting the debugger and stopping at the  breakpoint where the reference is created
>>>> 02 .. 04) After pressing F6 once each time
>>>> 0x) Several F6 presses later
>>>>
>>>> I also included the disassembly which shows that basically indirect addresses seem ok....
>>>>
>>>> Best regards and thanks in advance for help,
>>>> Andreas
>>>>
>>>>
>>>>
>>>>
>>>>...
View Full Message
RE: AW: AW: Momentix IDE Debugger Error  
I think there is a misunderstanding -- I upload exactly the things created by Momentix, just not via run config but from
 the qnx console using the samba client it offers. Trust me, it avoids this problem of uploading libraries which are in 
use, as one uploads all (just once) without starting anything. That avoids conflicts!
No new on top of others, just not multiple copies of one and the same lib while programs are already running....
Trust me, ignoring nothing from the IDE here!

________________________________________
From: Elena Laskavaia [community-noreply@qnx.com]
Sent: Tuesday, July 19, 2011 9:19 PM
To: general-ide
Subject: Re: AW: AW: Momentix IDE Debugger Error

If you avoiding safety guards and uploading new libraries on top of ones which are used by debugger already this may 
cause problems,
there is a reason why IDE does not do that.

On 07/19/2011 03:00 PM, Andreas Beschorner wrote:
> Ahem, what do you mean by saying I do not use a proper way of debugging?? I made things as problemless as possible by 
using scripts and commands to avoid problems coming from run configurations where multiple applications access identical
 libraries which leads to conflicts, as you cannot upload libraries already in use. I use different directories for 
release and debug version avoiding library mess, and the consoles do not show any errors at all. That is basically what 
you suggested but additionally avoiding potential problems in your setup...
>
> Hope I do not sound rude, sorry if so.
>
> Regards,
> G.
>
> ________________________________________
> From: Elena Laskavaia [community-noreply@qnx.com]
> Sent: Tuesday, July 19, 2011 8:08 PM
> To: general-ide
> Subject: Re: AW: AW: Momentix IDE Debugger Error
>
> If you not using proper way of debugging I cannot really help you.
>
> On 07/19/2011 01:51 PM, Andreas Beschorner wrote:
>> I wrote a script using samba client copy commands which connects to the windows platform and copies all necessary 
libraries and executables, so I do not need to start any launch configuration and thus do not run into problems when 
several apps access the same libs, which often leads to "already in use" conflicts.
>> And all checks are done: Nothing missing and no incorrect libraries involved.
>>
>> Regards,
>> A.
>>
>> ________________________________________
>> From: Elena Laskavaia [community-noreply@qnx.com]
>> Sent: Tuesday, July 19, 2011 5:11 PM
>> To: general-ide
>> Subject: Re: AW: AW: Momentix IDE Debugger Error
>>
>> Try using qnx launch configurations which upload binary for you (and related library if you have custom libraries)
>> Also check the console for errors especially for mismatches.
>>
>> On 07/19/2011 11:01 AM, Andreas Beschorner wrote:
>>> Hoi,
>>>
>>> yes, I either upload or drag&drop them manually and execute them on the target. When testing, nothing can be too save!
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: Elena Laskavaia [mailto:community-noreply@qnx.com]
>>> Gesendet: Dienstag, 19. Juli 2011 16:59
>>> An: general-ide
>>> Betreff: Re: AW: Momentix IDE Debugger Error
>>>
>>> Debug and Release are in different directories on target or on host? How do you launch? Do you upload binary and all
 libraries every time?
>>>
>>> On 07/19/2011 10:51 AM, Andreas Beschorner wrote:
>>>> Greetings Elena and Aleksandar,
>>>>
>>>> @Elena: Basically, Debug and Release variant are always in separate directories, so there should be no library 
confusion. For large programs, your advice or different or unwanted behaviour is true, but the small program attached 
should really make no trouble :-) Thanks for the information about the mudflap problems, I will see what I can...
View Full Message
Re: AW: AW: Momentix IDE Debugger Error  
We back to squire one - we need debug log to diagnose anything

On 07/19/2011 03:25 PM, Andreas Beschorner wrote:
> I think there is a misunderstanding -- I upload exactly the things created by Momentix, just not via run config but 
from the qnx console using the samba client it offers. Trust me, it avoids this problem of uploading libraries which are
 in use, as one uploads all (just once) without starting anything. That avoids conflicts!
> No new on top of others, just not multiple copies of one and the same lib while programs are already running....
> Trust me, ignoring nothing from the IDE here!
> 
>
RE: AW: AW: Momentix IDE Debugger Error  
The pics did not help? How can I produce a debug log via IDE? Or do I have to switch do command line debugging?
Thanks for help here, going to bed soon so I will be back tomorrow.

Thanks a lot to all helping here!
Andy
________________________________________
From: Elena Laskavaia [community-noreply@qnx.com]
Sent: Tuesday, July 19, 2011 9:32 PM
To: general-ide
Subject: Re: AW: AW: Momentix IDE Debugger Error

We back to squire one - we need debug log to diagnose anything

On 07/19/2011 03:25 PM, Andreas Beschorner wrote:
> I think there is a misunderstanding -- I upload exactly the things created by Momentix, just not via run config but 
from the qnx console using the samba client it offers. Trust me, it avoids this problem of uploading libraries which are
 in use, as one uploads all (just once) without starting anything. That avoids conflicts!
> No new on top of others, just not multiple copies of one and the same lib while programs are already running....
> Trust me, ignoring nothing from the IDE here!
>
>



_______________________________________________

General
http://community.qnx.com/sf/go/post87445


--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

Re: AW: AW: Momentix IDE Debugger Error  
Pictures don't help they don't have debug log. You need to copy log from console when gdb "item" is selected in Debug 
view.

On 07/19/2011 04:02 PM, Andreas Beschorner wrote:
> The pics did not help? How can I produce a debug log via IDE? Or do I have to switch do command line debugging?
> Thanks for help here, going to bed soon so I will be back tomorrow.
> 
> Thanks a lot to all helping here!
> Andy
> ________________________________________
> From: Elena Laskavaia [community-noreply@qnx.com]
> Sent: Tuesday, July 19, 2011 9:32 PM
> To: general-ide
> Subject: Re: AW: AW: Momentix IDE Debugger Error
> 
> We back to squire one - we need debug log to diagnose anything
> 
> On 07/19/2011 03:25 PM, Andreas Beschorner wrote:
>> I think there is a misunderstanding -- I upload exactly the things created by Momentix, just not via run config but 
from the qnx console using the samba client it offers. Trust me, it avoids this problem of uploading libraries which are
 in use, as one uploads all (just once) without starting anything. That avoids conflicts!
>> No new on top of others, just not multiple copies of one and the same lib while programs are already running....
>> Trust me, ignoring nothing from the IDE here!
>>
>>
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87445
> 
> 
> --
> This message has been scanned for viruses and dangerous content by
> MailScanner, and is believed to be clean.
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87447
> 
RE: AW: AW: Momentix IDE Debugger Error  
From your question and replies so far I can see you are not using the
IDE debug launch. You can certainly use command line debugging with your
customized debug process, but if you want to use the IDE you need to
follow the below guidelines to properly setup the IDE debug launch so
IDE can connect the debug views to your program:

- Launch Configurations Reference
http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.ide.userguide
/topic/launch_Base_.html

- Debugging in the IDE
http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.ide.userguide
/topic/debug_Base_.html

HTH,
(another)Andy

-----Original Message-----
From: Andreas Beschorner [mailto:community-noreply@qnx.com] 
Sent: July-19-11 4:03 PM
To: general-ide
Subject: RE: AW: AW: Momentix IDE Debugger Error

The pics did not help? How can I produce a debug log via IDE? Or do I
have to switch do command line debugging?
Thanks for help here, going to bed soon so I will be back tomorrow.

Thanks a lot to all helping here!
Andy
AW: AW: AW: Momentix IDE Debugger Error  
Ok, same results with using just a debug configuration (btw I also debugged via config, I just do not use it to upload 
necessary libraries... This seems not to have become clear). No difference at all. So how can I get the debug log in the
 IDE? I tried to find a verbosity parameter but without success. And copying the stack does not give more information 
than the images I attached.

Thanks for help here,
Andy

-----Ursprüngliche Nachricht-----
Von: Andy Jin [mailto:community-noreply@qnx.com] 
Gesendet: Dienstag, 19. Juli 2011 22:16
An: general-ide
Betreff: RE: AW: AW: Momentix IDE Debugger Error

From your question and replies so far I can see you are not using the
IDE debug launch. You can certainly use command line debugging with your
customized debug process, but if you want to use the IDE you need to
follow the below guidelines to properly setup the IDE debug launch so
IDE can connect the debug views to your program:

- Launch Configurations Reference
http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.ide.userguide
/topic/launch_Base_.html

- Debugging in the IDE
http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.ide.userguide
/topic/debug_Base_.html

HTH,
(another)Andy

-----Original Message-----
From: Andreas Beschorner [mailto:community-noreply@qnx.com] 
Sent: July-19-11 4:03 PM
To: general-ide
Subject: RE: AW: AW: Momentix IDE Debugger Error

The pics did not help? How can I produce a debug log via IDE? Or do I
have to switch do command line debugging?
Thanks for help here, going to bed soon so I will be back tomorrow.

Thanks a lot to all helping here!
Andy




_______________________________________________

General
http://community.qnx.com/sf/go/post87450


-- 
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.
Re: AW: AW: AW: Momentix IDE Debugger Error  
I already explained. Just click on gdb process in the Debug view. Open Console view and copy result to us.
To increase verbosity there is a flag in Debug tab of launch configuration.

On 07/20/2011 03:01 AM, Andreas Beschorner wrote:
> Ok, same results with using just a debug configuration (btw I also debugged via config, I just do not use it to upload
 necessary libraries... This seems not to have become clear). No difference at all. So how can I get the debug log in 
the IDE? I tried to find a verbosity parameter but without success. And copying the stack does not give more information
 than the images I attached.
> 
> Thanks for help here,
> Andy
> 
> -----Ursprüngliche Nachricht-----
> Von: Andy Jin [mailto:community-noreply@qnx.com] 
> Gesendet: Dienstag, 19. Juli 2011 22:16
> An: general-ide
> Betreff: RE: AW: AW: Momentix IDE Debugger Error
> 
> From your question and replies so far I can see you are not using the
> IDE debug launch. You can certainly use command line debugging with your
> customized debug process, but if you want to use the IDE you need to
> follow the below guidelines to properly setup the IDE debug launch so
> IDE can connect the debug views to your program:
> 
> - Launch Configurations Reference
> http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.ide.userguide
> /topic/launch_Base_.html
> 
> - Debugging in the IDE
> http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.ide.userguide
> /topic/debug_Base_.html
> 
> HTH,
> (another)Andy
> 
> -----Original Message-----
> From: Andreas Beschorner [mailto:community-noreply@qnx.com] 
> Sent: July-19-11 4:03 PM
> To: general-ide
> Subject: RE: AW: AW: Momentix IDE Debugger Error
> 
> The pics did not help? How can I produce a debug log via IDE? Or do I
> have to switch do command line debugging?
> Thanks for help here, going to bed soon so I will be back tomorrow.
> 
> Thanks a lot to all helping here!
> Andy
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post87450
> 
>