Skip to content

Commit 435e445

Browse files
authored
created WhenAllElseFails tips and trick
1 parent 4e69647 commit 435e445

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# When all else fails...
2+
3+
When all else fails... make a guess and then hack either
4+
the poppler source code or the pdf2htmlEX source code (or both).
5+
6+
Progressively add printf statements to record the different paths
7+
taken during a run of the pdf2htmlEX command.
8+
9+
Typically these printf statements will announce the entry and exit
10+
of important methods. They will also typically record the values
11+
of various important variables (including values of the formal
12+
parameters).
13+
14+
Eventually you should see what assumptions you or pdf2htmlEX are
15+
making that are not correct...
16+
17+
It is then obvious (says he) what needs to be fixed...
18+
19+
Given you are working directly on the source code on the
20+
AWS EC2 machine.... it is easy to get rid of the printfs...
21+
just throw the AWS EC2 machine away and start again.... :-)

0 commit comments

Comments
 (0)