#
a713770a |
| 04-Aug-2024 |
Niklas Poslovski <ni.pos@yandex.com> |
Debugger: Make text in SourceView readable with dark theme
Change-Id: Ia3baead6676fca1a3454b821c405592da29f715c Reviewed-on: https://review.haiku-os.org/c/haiku/+/7936 Tested-by: Commit checker robo
Debugger: Make text in SourceView readable with dark theme
Change-Id: Ia3baead6676fca1a3454b821c405592da29f715c Reviewed-on: https://review.haiku-os.org/c/haiku/+/7936 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
show more ...
|
#
c0936b5a |
| 12-Jan-2018 |
Rene Gollent <rene@gollent.com> |
Debugger: Another set of #13800 fixes.
AbstractTable/Table/TreeTable: - Let BColumnListView take care of deleting columns. The previous approach was resulting in the columns being leaked.
Debugge
Debugger: Another set of #13800 fixes.
AbstractTable/Table/TreeTable: - Let BColumnListView take care of deleting columns. The previous approach was resulting in the columns being leaked.
Debugger: - Don't detach the UI reference, as TeamDebugger will acquire its own.
GraphicalUserInterface: - Cleanup of file panel handler.
SourceView: - Clean up marker manager.
*Roster: - Clean up registered objects in destructors.
GlobalTypeLookup: - Clean up hash tables.
NetworkTargetHostInterfaceInfo: - Fix reference handling for settings.
show more ...
|
#
3995592c |
| 11-Jan-2018 |
Rene Gollent <rene@gollent.com> |
Debugger: Fix #13939, more work on #13800.
- Fix various cases where OpenHashTables weren't being cleared properly. - Fix various reference counting errors. - Simplify FileManager reference handling
Debugger: Fix #13939, more work on #13800.
- Fix various cases where OpenHashTables weren't being cleared properly. - Fix various reference counting errors. - Simplify FileManager reference handling. - Fix bug in LocatableDirectory where the directory named '/' would have its name returned as empty. This would lead to failed lookups for entries already in the table, and ultimately corrupted the hash table when deleting unused entries, leading to #13939. This was previously never noticed due to the entries not being freed properly. - AbbreviationTable wasn't clearing its entries.
show more ...
|
#
10ba3348 |
| 01-Dec-2016 |
Rene Gollent <rene@gollent.com> |
Debugger: Cleanup.
- Split MessageCodes.h into a second file that separates out the application-specific message codes from those used by the core. Adjust includes accordingly. No functional cha
Debugger: Cleanup.
- Split MessageCodes.h into a second file that separates out the application-specific message codes from those used by the core. Adjust includes accordingly. No functional change.
show more ...
|
#
a9d53d9e |
| 23-Nov-2016 |
Rene Gollent <rene@gollent.com> |
Debugger: Fix regression introduced in hrev50534.
FunctionInstance: - Add new state FUNCTION_SOURCE_SUPPRESSED. This signals that the user explicitly forced disassembly to be loaded despite source
Debugger: Fix regression introduced in hrev50534.
FunctionInstance: - Add new state FUNCTION_SOURCE_SUPPRESSED. This signals that the user explicitly forced disassembly to be loaded despite source code being available.
LoadSourceCodeJob: - When forced to disassembly, use the above suppressed state accordingly.
SourceView/TeamWindow/TeamDebugger: - Adjust to take new state into account as needed.
TeamDebugInfo::GetActiveSourceCode: - When looking at a function to decide whether to return line information based on source or disassembly, first examine the source code state. If the source has never been loaded for that function, but we have it available, set it on the function at that point. This lazily addresses the fact that LoadSourceCodeJob is called on behalf of a specific function, and consequently only sets the source code onto that function, and not all others present in the same file. This allows us to differentiate between the case where a function doesn't have source code available at all, versus a function that has simply been forced to disassembly view at this point in time.
The primary symptom of the above issue was that attempting to set a breakpoint outside of the currently active function, but within the same file would result in the breakpoints view indicating that the breakpoint was at line 0 rather than the appropriate line, and breakpoints would also not be drawn in the source view for such locations.
Thanks to Humdinger for the heads up!
show more ...
|
#
4d9388f3 |
| 01-Jan-2015 |
Rene Gollent <rene@gollent.com> |
Debugger: Adjustments to syntax highlighter.
SyntaxHighlighter/CLanguageFamilySyntaxHighlighter/SourceView: - TeamTypeInformation is now passed as a parameter when requesting parsing, so highlight
Debugger: Adjustments to syntax highlighter.
SyntaxHighlighter/CLanguageFamilySyntaxHighlighter/SourceView: - TeamTypeInformation is now passed as a parameter when requesting parsing, so highlighters can make use of it to identify types. Adjust callers.
CLanguageFamilySyntaxHighlightInfo: - Use TeamTypeInformation to check if identifiers map to types, and highlight accordingly if they do.
show more ...
|
#
0f45a480 |
| 28-Dec-2014 |
Rene Gollent <rene@gollent.com> |
Debugger: Fix #11669.
SourceView: - When calculating line widths for scrollbar calculation purposes, tabstop offsets weren't being correctly taken into account, which would result in lines being
Debugger: Fix #11669.
SourceView: - When calculating line widths for scrollbar calculation purposes, tabstop offsets weren't being correctly taken into account, which would result in lines being computed as shorter than they actually were. Depending on the content of the file, the horizontal scrollbar would consequently be configured improperly in some cases.
show more ...
|
#
310e80e0 |
| 02-Dec-2014 |
Rene Gollent <rene@gollent.com> |
Debugger: SourceView cleanups.
SourceView: - Now that we need to track the current text drawing position for syntax purposes anyways, get rid of the previous inefficient hack to handle tabstops,
Debugger: SourceView cleanups.
SourceView: - Now that we need to track the current text drawing position for syntax purposes anyways, get rid of the previous inefficient hack to handle tabstops, and instead adjust for them on the fly. This both avoids quite a bit of string copying/reformatting, and eliminates the need to adjust the syntax highlight offsets to compensate for the aforementioned reformatting. - Fix syntax color for string literals.
show more ...
|
#
177202d8 |
| 29-Nov-2014 |
Rene Gollent <rene@gollent.com> |
Debugger: Use syntax highlight info for source code view.
SourceView: - Request syntax highlight information when new source file is set. - Adjust _FormatLine() to also patch raw syntax highlights t
Debugger: Use syntax highlight info for source code view.
SourceView: - Request syntax highlight information when new source file is set. - Adjust _FormatLine() to also patch raw syntax highlights to match up with calculated tabstops. - Draw strings in pieces corresponding to how they're broken up in terms of syntax highlights with colors.
show more ...
|
#
b13d8249 |
| 31-Oct-2014 |
Rene Gollent <rene@gollent.com> |
Debugger: MarkerView tweaks.
- Draw conditional breakpoints in a different color from regular ones for easy visual differentiation. - Right clicking on an existing breakpoint marker now brings up
Debugger: MarkerView tweaks.
- Draw conditional breakpoints in a different color from regular ones for easy visual differentiation. - Right clicking on an existing breakpoint marker now brings up the condition editing window.
show more ...
|
#
c14bca29 |
| 13-Sep-2013 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
4387d6b3 |
| 11-Jul-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge remote-tracking branch 'remotes/haiku/master' into package-management
|
#
8832917f |
| 11-Jul-2013 |
Rene Gollent <anevilyak@gmail.com> |
Debugger: SourceView: Fix several drawing bugs.
- MarkerView: If the view was resized, and the newly revealed region was after the last source line, it wouldn't be redrawn properly. - TextView: Rese
Debugger: SourceView: Fix several drawing bugs.
- MarkerView: If the view was resized, and the newly revealed region was after the last source line, it wouldn't be redrawn properly. - TextView: Reset low color for painting the region after the source. Otherwise, if either the instruction pointer or a breakpoint were at the last line of the current source, the empty space after would be filled in that color rather than the background color.
show more ...
|
#
7e78b434 |
| 08-Jul-2013 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Merge remote-tracking branch 'haiku/master' into package-management
Conflicts: build/jam/HaikuImage build/jam/OptionalPackageDependencies build/jam/OptionalPackages build/scripts/build_cross_too
Merge remote-tracking branch 'haiku/master' into package-management
Conflicts: build/jam/HaikuImage build/jam/OptionalPackageDependencies build/jam/OptionalPackages build/scripts/build_cross_tools_gcc4 src/add-ons/translators/icns/Jamfile src/add-ons/translators/jpeg/Jamfile
show more ...
|
#
596fe0b6 |
| 30-Jun-2013 |
Rene Gollent <anevilyak@gmail.com> |
Fix redrawing issue.
If we had a source code change that resulted in a new file that was shorter than the entire view, the section below the last line wouldn't get repainted properly.
|
#
48411285 |
| 30-Jun-2013 |
Rene Gollent <anevilyak@gmail.com> |
MarkerView: rework drawing to reduce flicker.
Addresses another part of #9841.
|
#
97a83952 |
| 29-Jun-2013 |
Rene Gollent <anevilyak@gmail.com> |
Reduce drawing flicker in SourceView.
Instead of relying on the app_server to handle the background color, do so ourselves. This allows somewhat more granular control, and helps reduce flicker on dr
Reduce drawing flicker in SourceView.
Instead of relying on the app_server to handle the background color, do so ourselves. This allows somewhat more granular control, and helps reduce flicker on drawing when single stepping.
show more ...
|
#
6eb68a04 |
| 23-Jun-2013 |
Rene Gollent <anevilyak@gmail.com> |
Slight tweak to inactive instruction pointer highlight color.
|
#
b1975a59 |
| 22-Jun-2013 |
Rene Gollent <anevilyak@gmail.com> |
Implement #9775.
- When possible, SourceView now adds a context menu option to switch between source and disassembly. If the disassembled code is not yet available, it is asynchronously requested. A
Implement #9775.
- When possible, SourceView now adds a context menu option to switch between source and disassembly. If the disassembled code is not yet available, it is asynchronously requested. Adjusted SourceView::Listener and implementing subclasses accordingly to make that request feasible.
- Adjust TeamWindow to correctly deal with the possibility of the function source code being available but not loaded.
show more ...
|
#
143fdaf7 |
| 21-Jun-2013 |
Rene Gollent <anevilyak@gmail.com> |
Style fix.
|
#
77d2c53c |
| 19-Jun-2013 |
Rene Gollent <anevilyak@gmail.com> |
Slight tweak to instruction pointer highlight drawing.
- When highlighting lines that match IPs in the current stack trace, draw those which aren't from the currently selected frame in a lighter col
Slight tweak to instruction pointer highlight drawing.
- When highlighting lines that match IPs in the current stack trace, draw those which aren't from the currently selected frame in a lighter color, so as to make it more clear which is which when multiple calls are visible at once.
show more ...
|
#
72873800 |
| 15-Jun-2013 |
Rene Gollent <anevilyak@gmail.com> |
BreakpointListView/SourceView: ignore hidden breakpoints.
|
#
b8ded2f8 |
| 27-May-2013 |
François Revol <revol@free.fr> |
Merge branch 'master' into sam460ex
|
#
d1a797e6 |
| 17-May-2013 |
Rene Gollent <anevilyak@gmail.com> |
Add context action to open source file to SourceView.
Implements #9776.
|
#
ed6d6081 |
| 17-May-2013 |
Rene Gollent <anevilyak@gmail.com> |
Implement "Set next statement".
Adds a context menu command allowing the user to specify that the active thread should be set to execute the specified statement next, by updating its instruction poi
Implement "Set next statement".
Adds a context menu command allowing the user to specify that the active thread should be set to execute the specified statement next, by updating its instruction pointer. Implements second part of #9709.
Note that care needs to be taken with this feature for now, as it doesn't yet sanity check the requested address. Setting the target to e.g. a statement in an entirely different function is likely to have unpredictable/unstable effects on the debugged program.
show more ...
|