Comments (7)
I didn't know the "working path" was relevant for the connect mode. I purposely left it out.
I can easily add it back. And if it has an added benefit of shortening those path names in the source browsers, all the better.
(And add it back to the attach mode).
from seer.
I try to use more of Seer functions. Turns out that 'Functions' tab has exactly what I wanted:
'File' column is what I would like to see for 'Source' one.
from seer.
I'm looking into this. The list I get from gdb is basically the output of "info sources". It seems to always include the full path.
There are these commands, but they only affect tracebacks stackframes.
set filename-display relative
set filename-display absolute
set filename-display basename
show filename-display
What happens when you're in Seer and you enter this command in the Command Bar?
In my example, the full path is given.
Do you have an example where gdb shows the filename as abbreviated?
from seer.
I've re-added the "working directory" to 'attach' and 'connect' modes. "main" is up to date.
I'm not sure about the long names, though. I don't think gdb does anything different. Please confirm if you can. Otherwise, in your example, how would you like the long names to appear? Something like going from this:
/nas/erniep/Development/seer/tests/hellostruct/hellostruct.cpp
to just file and one directory. Like:
../hellostruct/hellostruct.cpp
It can be made toggle-able between "full view" and "shortened view".
from seer.
set filename-display relative
set filename-display absolute
set filename-display basename
show filename-display
'info sources' gives fullnames each time
from seer.
'info sources' gives fullnames each time
Thanks for confirming.
from seer.
Those "set filename..." calls apply to everything but "info sources". Not sure why gdb was written that way.
from seer.
Related Issues (20)
- Add a way to select which registers to show HOT 14
- Add 'memory visualiser' to variable context menu? HOT 3
- Improve Building-Seer Qt6 Wiki adding Prerequisites for Ubuntu 22.04 LTS or more HOT 2
- Question: seer connect mspdebug? HOT 5
- Allow for spaces and capital chars in register profile names HOT 3
- Give symbol file to GDB after connecting HOT 22
- [Feature Request] PPA HOT 14
- Remember debug settings HOT 3
- Speed up some things. HOT 3
- too short call stack for main thread on interrupted process HOT 40
- Some way to open the current source and line number in an external text editor HOT 6
- output console text to the terminal that SeerGDB was ran from, and then "reattach" the console window into a tab HOT 2
- Add an internal Dark and Light style. HOT 13
- README missing Installation(not from source) Section HOT 3
- See if Seer can support the cuda-gdb debugger. HOT 2
- Configuration of RR HOT 4
- Look at making Seer's console a tab in the breakpoints area.
- GDB output unescaping HOT 3
- Add hover tool tip info for breakpoints in source editor windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from seer.