Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Source files are moved to <temp-aux> during debugging under BSD
Re: Source files are moved to <temp-aux> during debugging under BSD [message #36425 is a reply to message #36160] Fri, 25 May 2012 23:23 Go to previous message
Sender Ghost is currently offline  Sender Ghost
Messages: 301
Registered: November 2008
Senior Member
Hello, Pavel.
Mindtraveller wrote on Thu, 26 April 2012 15:42

I'm developing app under FreeBSD. While it is executed under debugger and stopped on breakpoint, this source file is considered part of <temp-aux>, not a part of current package.

Mindtraveller wrote on Mon, 07 May 2012 22:29

I'd greatly appreciate any clues where in TheIDE sources to start finding this bug.

uppsrc/ide/ide.key(68) ->
Toggle Spoiler

uppsrc/ide/idebar.cpp(483) ->
Toggle Spoiler

uppsrc/ide/Debug.cpp(162) ->
Toggle Spoiler

uppsrc/ide/Debug.cpp(188) ->
uppsrc/ide/Debuggers/Gdb.cpp(598) ->
Toggle Spoiler

uppsrc/ide/Debuggers/Gdb.cpp(601) ->
uppsrc/ide/Debuggers/Gdb.cpp(554) ->
uppsrc/ide/Debuggers/Debuggers.h(126) ->
uppsrc/ide/Debuggers/Debuggers.h(140) ->
uppsrc/ide/Debuggers/Gdb.cpp(321) ->
Toggle Spoiler

uppsrc/ide/Debuggers/Gdb.cpp(324) ->
uppsrc/ide/Debuggers/Gdb.cpp(262) ->
Toggle Spoiler

uppsrc/ide/Debuggers/Dbg.cpp(90)
uppsrc/ide/Debuggers/Gdb.cpp(228)
Toggle Spoiler

The parsed path returns to fn variable above, which is file variable inside Gdb::Cmdp method.
uppsrc/ide/Core/Core.cpp(230) ->
uppsrc/ide/Core/Core.cpp(233) ->
uppsrc/ide/idewin.cpp(201) ->
Toggle Spoiler

uppsrc/ide/idewin.cpp(206) ->
uppsrc/ide/idefile.cpp(554) ->
Toggle Spoiler

uppsrc/ide/idefile.cpp(583) ->
uppsrc/ide/UppWspc.cpp(792).
Toggle Spoiler

I could confirm this situation on FreeBSD and Linux operating systems, in case of package nests of assembly, configured with symlink paths. In your case "/home" is symlink to "/usr/home", therefore, when gdb returns "/usr/home/.." file path, TheIDE couldn't find it for "/home/.." file workspace paths and opens them inside <temp-aux> instead.
The quick solution here is to use absolute paths for package nests of assembly.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: How do I set compiler/linker options for a specific project
Next Topic: Problem with linking against HexView on Linux
Goto Forum:
  


Current Time: Mon Aug 25 19:02:40 CEST 2025

Total time taken to generate the page: 0.05269 seconds