由买买提看人间百态

topics

全部话题 - 话题: debug
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
z****e
发帖数: 54598
1
来自主题: Programming版 - java annotation怎么debug?
在反射的时候设置断点就可以debug了
如果你用的是第三方类库,看看能否down到source code
只要你设置好maven,一般ide可以帮你down到src
然后直接在src code里面设置断点,就可以看到了
g****t
发帖数: 31659
2
来自主题: Programming版 - python debug tool?
有的函数/结构认NAN,有的不认。
查一个NAN花不少时间,大家有什么好办法?
debug除了pdb有别的办法吗?
g****t
发帖数: 31659
3
来自主题: Programming版 - python debug using clipboard
(1) Best clipboard code
Tkinter的clipboard最好用
(2)
Notepad++
可以view clipboard history
我现在就是在要debug的地方插入clipboard append,
然后看history
very convenient.
TODO: work on Emacs' kill-ring and windows' system clipboard.
The relationship looks very complicate.
s*******n
发帖数: 66
4
来自主题: Software版 - 问个visual studio debug的问题
本人菜鸟,不要见笑。
别人写了excel macro,里面设置里路径。用vs debug, 然后attach the process excel
.exe,但是不能load 路径里面的symbols (.pdb files), 请问可以怎么解决?谢谢各
位!
b********s
发帖数: 13
5
来自主题: Unix版 - any debugging tool?
I used to use GDB on linux. However when I tried
to used it on Sun Solaris, it doesn't work.
Does anyone have any idea about it? or anyone
has some better tools for debugging on linux
Unix.
Thanks!
g***e
发帖数: 2
6
来自主题: Unix版 - how to debug JNI on Unix
I am doing JNI stuff on Unix.
Got a coredump.
What is the debug tool good for this matter?
I don't know how to read the txt file that java throws, HELP!
f****n
发帖数: 4
7
【 以下文字转载自 Programming 讨论区 】
【 原文由 fragen 所发表 】
在linux kde 下用debug ,想监视某些变量的值,但不知为什么有些
变量的值显示为问号,还有假如变量存的是值是复数的话,是不是
显示不出来?
要不要连类名一起输入? 谢谢!
f****n
发帖数: 4
8
【 以下文字转载自 Programming 讨论区 】
【 原文由 fragen 所发表 】
在linux kde 环境下编程,用debug 看变量的值,明明是 a=6 ,
已定义为整型变量,但系统却提示:value can't be converted
to integer. 请问有哪位遇到过相似的情况么?应怎样解决,
谢谢!
e******g
发帖数: 1
9
小弟,需要在unix下用fortran编程,但不知如何在debug时加入断点?请大虾指教。
a*******s
发帖数: 295
10
【 以下文字转载自 Linux 讨论区,原文如下 】
发信人: arrowhits (箭啸江湖), 信区: Linux
标 题: how to debug multi-threaded program?
发信站: The unknown SPACE (Sat Nov 23 20:55:13 2002) WWW-POST
I use GDB to monitor the execution step by step, but seems it doesn't
work. thanks for help
h*****g
发帖数: 9
11
When I used gdb debug C++ program, I encountered the follow problem.
Source code: myprogram.cc
executable code: myprogram
I used CC compiler to compile.
****************************
> gdb myprogram
> break myprogram.cc:myfunction
(Here, myfunction is a function in myprogram.cc)
Function "myfunction" not defined.
****************************
So the problem is that gdb always gives me "Function "myfunction" not defined"
message when I try to set a breakpoint at that function.
Is there anyone can
f********h
发帖数: 149
12
did you turn on debug by -g in compliation?
M******l
发帖数: 443
13
debug
-o 70 10
-o 71 01
-q
n*****n
发帖数: 97
x*******a
发帖数: 11067
15
来自主题: Windows版 - 新机器下面没法DEBUG旧程序
换了一台新DELL电脑,从OPTIPLEX GX 270升到280,都是XP的操作系统.也没有SP2.
重装了DIGITAL FORTRAN的COMPILER.
从前的VISUAL FORTRAN WORKSPACE在这里能打开,能运行,但是不能DEBUG.
还有另一两个重装的应用程序也出了这样那样的问题.有没有人有过类似的经历啊?
或者给点儿建议.俺们这里的系统管理员都没办法.卡了两天了.
能想出来的办法是,重新装机器.看看是不是操作系统有问题?
或者是不是硬盘坏了?
//BOW
D****0
发帖数: 234
16
来自主题: Windows版 - 请教问题:debug
IE 打开google网页以后在桌面上总是生成一个debug文件,里面是空的什么内容都没有。
请问这个是怎么回事?怎么解决?是不是病毒?
打开其他网页都没有问题。用的是WINDOWS XP
谢谢。
h****d
发帖数: 1305
b*********h
发帖数: 46
18
来自主题: Computation版 - 问个matlab debug的问题
如果一个函数执行过程中出错,函数就会返回,所有的local数据
自动丢失,没法看究竟哪里出了问题。有没有办法在出错的时候
保留local workspace?这样比较方便查错,不用再运行一次,
有的函数运行起来非常耗时,为了debug重来一遍太不方便了。
n*****i
发帖数: 27
19
来自主题: Computation版 - 问个matlab debug的问题
debug->stop if errors/warnings->always stop if errors
b*****l
发帖数: 9499
20
来自主题: Computation版 - 问个matlab debug的问题
你说的出错是指什么?要是指算法错误导致得不到想要的结果,那有两个办法。一个是
用 fprint 输出关键数据,另一个是把函数临时改成过程,做一个 debug 用的环境来
调用这个过程。
m*****g
发帖数: 278
21
刚刚接触fortran,不知道哪个debug软件比较好用呢,比如想设置断点,实时观察变量
赋值,或者可以一步一步运行程序。linux或者windows都可以。
谢谢大家!
p*****r
发帖数: 525
22
来自主题: EE版 - Verilog 一般用什么来DEBUG
比较大的CHIP,用什么工具来DEBUG比较好.
我不是学DIGITAL 的. 有没有象 C/C++ 一样
DDD 之类方便的工具. 好象有人用VERDI.
多谢,哪里能有这方面的资料可以自学一下.
M******r
发帖数: 221
23
来自主题: EE版 - Verilog 一般用什么来DEBUG
verdi应该不错吧,可以图形化trace,可以在不同view之间切换,对debug大的模块化
design应该挺方
便的。
教程之类的google一下,eda相关的东西网上比较泛滥
c*******d
发帖数: 1763
24
来自主题: Quant版 - 用Visual Studio 2008 debug DLL.
wilmott上面说,你在debug 模式下检查 tools->references, 找到你的 DLL, and add
it, 或者直接ignore the error message
不清楚你到底遇到的什么问题,不过wilmott上这么说。
b*******g
发帖数: 513
25
别扯远了。谁能回答我的问题? c++的compile和debug是不是不是一回事?多谢!
t*****9
发帖数: 19
26
compile 首先生成一个目标文件 .obj
因为可能用到别的库文件,如输入输出流等等,所以下一步是 link, 生成一个可执行文
件, .exe
最后跑这个可执行文件(.exe)
debug是调试。
Unix下可以用g++完成,非常方便。例如单个文件可以这样编译:
$g++ myfile.cpp -o myoutput
然后执行(run):
$./myoutput
a****r
发帖数: 1486
27
来自主题: Statistics版 - 土问,R SAS是不是是都不能debug?
R好像有些function可以。
现在revolution R enterprise版的可以做到类似visual studio里的那种debug,现在
对于academic是免费的。
g********d
发帖数: 2022
28
来自主题: Statistics版 - 土问,R SAS是不是是都不能debug?
SAS 里面data step可以用
data xxx/debug;
要看macro执行可以用symbolgen等等。
G**Y
发帖数: 33224
29
来自主题: Statistics版 - 土问,R SAS是不是是都不能debug?
R
debug
browser
...
google
B******5
发帖数: 4676
30
来自主题: Statistics版 - 土问,R SAS是不是是都不能debug?
R有个debug的function,个人感觉不太好用,或许是我用的不对头。。。
o****o
发帖数: 8077
31
maybe:
data _x_ / debug;
?
w*********r
发帖数: 488
32
也就是说大家都不怎么用单步执行debug了?那我就放心了。在网上查到的好想命令窗
口界面都不一样,叫SAS/C debugger。
F****3
发帖数: 1504
33
来自主题: Statistics版 - SAS在Linux环境下运行太难debug了
Linux环境下不好debug,IDE不好怎么办呢?我是文科wsn,编程也就会用sas。电脑懂
一些dos,和unix命令。。。谢谢!!!
w****g
发帖数: 81
34
来自主题: Statistics版 - SAS在Linux环境下运行太难debug了
习惯问题,我现在快忘了如何在windows下debug.
k**k
发帖数: 61
35
来自主题: Statistics版 - Need advice on SAS macro debugging
A newbie to SAS yet trying to understand a few hundred lines of macro thrown
at me. Just wondering what kind of tool to use.
To be exact, I was looking for something similar to the DATA step debugger
that can be used to debug macro. I really like to step through the codes
line and line and observe how the macro variables changing values on the fly
. All those nested loops and conditioning are driving me nuts!
Any suggestions?
k*******a
发帖数: 772
36
来自主题: Statistics版 - Need advice on SAS macro debugging
To debug SAS MACRo program, you can run program step by step
Use %let to assign some value for each parameter, then proceed
Check log to see which step has problem
options like mprint symbolgen may be helpful
l******9
发帖数: 579
37
来自主题: Statistics版 - R studio 进入debug状态后, 很慢 ?
在用 R studio 做 R code 开发。
如果 不设 breakpoint, R code 从什么地方开始运行 , R code 没有 main 函数 ?
为什麽 进入 debug 状态 以后, R studio 变得 很慢, 我按执行下一行 按钮, 没
反应 ?
按 source on save button ,程序从哪里开始运行?
谢谢
l**********8
发帖数: 305
38
来自主题: Statistics版 - SAS macro Debug
就是debug不出来,大神们救我啊
******************* 完整的 CODE ***************
%let dataloc = /disk/agedisk1/medicare/data/20pct/car;
libname bworkhos "/disk/agebulk5/medicare.work/lbaker-DUA23466/ausmita/temp"
;
*libname temp "/disk/agebulk5/medicare.work/lbaker-DUA23466/lbaker/data/xw";
ods listing file = "/disk/agebulk5/medicare.work/lbaker-DUA23466/ausmita/
temp/carrier_12222015.lst";
proc printto
log="/disk/agebulk5/medicare.work/lbaker-DUA23466/ausmita/temp/carrier_
12222015.log";
run;
*--------------... 阅读全帖
l**********8
发帖数: 305
39
来自主题: Statistics版 - SAS macro Debug
就是debug不出来,大神们救我啊
******************* 完整的 CODE ***************
%let dataloc = /disk/agedisk1/medicare/data/20pct/car;
libname bworkhos "/disk/agebulk5/medicare.work/lbaker-DUA23466/ausmita/temp"
;
*libname temp "/disk/agebulk5/medicare.work/lbaker-DUA23466/lbaker/data/xw";
ods listing file = "/disk/agebulk5/medicare.work/lbaker-DUA23466/ausmita/
temp/carrier_12222015.lst";
proc printto
log="/disk/agebulk5/medicare.work/lbaker-DUA23466/ausmita/temp/carrier_
12222015.log";
run;
*--------------... 阅读全帖
t*****a
发帖数: 459
40
来自主题: Statistics版 - SAS macro Debug
SAS的问题最好解决了,直接联系客服,让他们给你debug,他们能直接把改好的code寄
给你。
C**o
发帖数: 10373
41
来自主题: _hpost版 - Re: How to debug: 婴儿为何啼哭?
【 以下文字转载自 Detective 讨论区 】
发信人: shaver (印度的决心!), 信区: Detective
标 题: Re: How to debug: 婴儿为何啼哭?
发信站: BBS 未名空间站 (Wed Jan 2 22:44:49 2013, 美东)
俺承认, 俺是应该贴的!!
但是俺在BBS 仇家太多, 不大方便!
就奔个脚吧! 望老慢谅解!
c****u
发帖数: 3277
42
来自主题: _ZST版 - Re: 上帝在debug
"框子有了, 一切即将变清晰. 我决定打破它, 但不知道怎么开始,
"故事原本是这样的"俗套被我厌恶, 我在想那些痛苦的debug的岁月,
象在织一张网"
"人们说写诗是一件私人的事情, 诗是给自己看的, 故事其实也是.
当一遍遍的被抽象的意念击倒, 我开始绝望, 我当不了上帝, 因为
上帝需要一个使自己平静的灵魂, 在16街昏暗的酒吧里, 我向门口张望,
大口的饮着劣质的啤酒. 幻想自己变成一个硬盘上的读写头, 一遍遍的清洗
自己的世界, 受一种无名力量的控制, 作为一个零件,我思想简单,
从没想到背后的绝对意志是自己. 人们说我在分裂, 我浑身虚汗, 脸上潮红,
你们无法想象, 我的背后,站着魔鬼, 我从面前的镜子里望到他, 他就在墙前面,
贴墙站着, 对我微笑, 我知道他要击败我,虽然他自己不这么认为."
"在那种悲天悯人的情绪里, 我飞出自己的肉体, 人们无法想象,
那个魔鬼是我自己. 就象人们也是我自己一样."
"我从日落大街走过, 看着壮丽的落日, 人们告诉我这是我一生中看到的
唯一一次, 在晚上,我将被毁掉, 我的记忆象蓝色闪电, 短暂得如
夜空里的流星."
l******h
发帖数: 2
43
Highly reputational company with very competitive compensation for all
positions.
Please send in your resume and position/positions you like to apply to my
email address below.
h*******[email protected]
All resumes will be deliver to hiring manager directly. Act fast!
Thanks!
Silicon Engineering Group
Sr. Physical Design Timing Engineer
Timing (STA) Manager
Senior Physical Design Engineer
CAD Manager - Front-End Design and Verification
Sr. CAD Engineer - Place & Route / Physical Design Engineer
Sr. CA... 阅读全帖
l******h
发帖数: 2
44
Highly reputational company with very competitive compensation for all
positions.
Please send in your resume and position/positions you like to apply to my
email address below.
h*******[email protected]
All resumes will be deliver to hiring manager directly. Act fast!
Thanks!
Silicon Engineering Group
Sr. Physical Design Timing Engineer
Timing (STA) Manager
Senior Physical Design Engineer
CAD Manager - Front-End Design and Verification
Sr. CAD Engineer - Place & Route / Physical Design Engineer
Sr. CA... 阅读全帖
j*****u
发帖数: 1133
45
写的比较乱,应该还有更clean的
static bool IsMatch(string str, string pattern)
{
if (str == null)
throw new ArgumentNullException("str");
if (string.IsNullOrEmpty(pattern))
throw new ArgumentException("pattern null or emptry.");
return MatchRec(str, pattern, 0, 0);
}
static bool MatchRec(string str, string pattern, int sIndex, int pIndex)
{
if (pIndex == pattern.Length)
{
return sIndex == str.Length;
}
char p = pattern[pIndex];
bool isStar = pIndex < pa... 阅读全帖
k****e
发帖数: 126
46
来自主题: Programming版 - 问个超简单的C问题
If a[][] is declared as static storage duration then it will certainly go to
.data segment. If not, the compiler will probably use immediate value
instead.
If you compare the following, (gcc version 4.5.3 -O0)
(1) array a[] has "auto" storage duration.
#include
#include
int foo()
{
int a[] = {3, 4, 5};
return a[2];
}
int main(void)
{
int temp;
temp = foo();
printf("%d", temp);
return 0;
}
Sections:
Idx Name Size VMA LMA File ... 阅读全帖
f****o
发帖数: 4067
47
来自主题: CellularPlan版 - LG volt的tether有人搞成了吗?

# begin build properties # autogenerated by buildinfo.sh ro.build.id=KOT49I.
LS740ZV6 ro.build.display.id=KOT49I.LS740ZV6 ro.build.version.incremental=
LS740ZV6.1440117223 ro.build.version.sdk=19 ro.build.version.codename=REL ro
.build.version.release=4.4.2 ro.build.date=Fri Aug 21 09:36:06 KST 2015 ro.
build.date.utc=1440117366 ro.build.type=user ro.build.user=jenkins ro.build.
host=LGEACI5R6 ro.build.tags=release-keys ro.product.model=LGLS740 ro.
product.brand=lge ro.product.name=x5_spr_us ro... 阅读全帖
y****n
发帖数: 743
48
来自主题: JobHunting版 - MS店面题讨论
说说我答这道题的思路:
如前所说,我认为test case与debug不在一条线上。我是按test case路线回答。原因
有三:
1. 这是测试职位,我们尽量按照测试思路。
2. 后面的问题是Bug Report,如果现在去debug了,后面就没法report了。
3. debug不属于tester常规工作范畴。
正常来说,大多数SDET的主要工作是针对某产品功能的自动化测试,也参与一些项目设
计,手工测试等等。所谓,debug主要是debug测试代码,而不是产品代码。
当然如果时间允许,你走的越深,debug出更多信息,经理们越高兴。但这不是必需的
,也不是最高优先的,至少作为tester如果你没有debug一般不会受到指责。从时效上
讲,developer去debug自己的代码应该更顺畅。
当出现问题时,头头们更关心这个问题的严重程度和受影响的人群,Developers关心什
么情况会出问题。这些都需要tester提供信息。但如果你把时间花在debug上,而不能
提供这些信息,问题就严重了。
即便你debug成功了,发现了问题,那么bug report要写什么呢?
问题描述还是修... 阅读全帖
c*****9
发帖数: 17
49
Employees in Netbook and Tablet Group deliver innovative platforms across
computing and communication segments including tablet, netbook and other
consumer electronics. Intel's industry leading technology is used to create
integrated hardware and software solutions such as processors, chipsets,
communication radios, graphics processors, motherboards, and networking
components that deliver capabilities from security and manageability to
computing performance and energy efficiency. NTG employees a... 阅读全帖
b*******y
发帖数: 1240
50
来自主题: JobHunting版 - 贴我的resume,求建议,谢谢!!!
software相关,我现在问题是会一些编程语言,用这些语言也做过不少活,但就是不够
focus,所以也可能成为一种劣势
thanks for all suggestions or help!
============================================================================
==============
SUMMARY OF QUALIFICATIONS
Highly motivated engineering program graduate with a proven academic record
and hands-on experience. Team player, attentive listener, and persuasive co
mmunicator. Strong relationship builder, adept at partnering with staff, and
clients. Detail-oriented with acute software design, d... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)