Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
ab9ddff0
Commit
ab9ddff0
authored
6 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
[gui] cleanup: remove debug outputs
parent
8867f77f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/gui/design.ml
+2
-7
2 additions, 7 deletions
src/plugins/gui/design.ml
with
2 additions
and
7 deletions
src/plugins/gui/design.ml
+
2
−
7
View file @
ab9ddff0
...
...
@@ -1515,10 +1515,7 @@ class main_window () : main_window_extension_points =
get_rel_from_main
0
source_viewer
#
misc
#
window
in
(* Width of the bullet column in the source viewer. *)
Format
.
printf
"viewer_rel_x: %d@."
viewer_rel_x
;
Format
.
printf
"window_abs_x: %d@."
window_abs_x
;
Format
.
printf
"abs_x: %d@."
abs_x
;
if
abs_x
-
(
window_abs_x
+
viewer_rel_x
)
<
20
then
if
abs_x
-
(
window_abs_x
+
viewer_rel_x
)
<
20
then
begin
let
x
,
y
=
GdkEvent
.
Button
.(
x
ev
,
y
ev
)
in
let
(
xbuf
,
ybuf
)
=
source_viewer
#
window_to_buffer_coords
...
...
@@ -1526,10 +1523,8 @@ class main_window () : main_window_extension_points =
in
let
iterpos
=
source_viewer
#
get_iter_at_location
xbuf
ybuf
in
let
line
=
iterpos
#
line
in
Format
.
printf
"line is %d@."
line
;
try
let
stmt
=
Hashtbl
.
find
Feedback
.
call_sites
line
in
Format
.
printf
"stmt found@
\n
%a@."
Printer
.
pp_stmt
stmt
;
Pretty_source
.
fold_preconds_at_callsite
stmt
;
self
#
reset
()
;
(* give some time for the sourceview to recompute
...
...
@@ -1596,7 +1591,7 @@ class main_window () : main_window_extension_points =
done
;
Glib
.
Timeout
.
remove
alarm
;
self
#
view_stmt
stmt
;
with
Not_found
->
Format
.
printf
"call not found@."
with
Not_found
->
()
end
;
false
)
in
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment