Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11207

Re: Using Workbench to debug Compile[] ??

From W Craig Carter <ccarter@MIT.EDU>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Using Workbench to debug Compile[] ??
Date 2012-08-05 01:49 +0000
Message-ID <jvkjff$5td$1@smc.vnet.net> (permalink)
References <jvdffu$c5t$1@smc.vnet.net> <jvg1k4$rkl$1@smc.vnet.net> <20120804100146.BDEB2684E@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


Hello,
Sometimes, I've found this useful: (from the CompilePrint man page)

Needs["CompiledFunctionTools`"]
c = Compile[{{x}}, x^2 + Sin[x^2]];
CompilePrint[c]

W Craig Carter
Professor of Materials Science, MIT



On Aug 4, , at Sat Aug 4, 12 @6:01 AM, Axel wrote:

> No, this is just a general question.
> I want to know if it is at all possible to debug a function that is 
returned by the Compile command with the Workbench. As I see it, this is 
NOT possible because I now have bytecode and not any more Mathematica 
source code.
> I just would like to confirm this.
>
> If you know any other way to debug compiled functions please let me 
know.
>
> Thanx
>  Axel
>

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Using Workbench to debug Compile[] ?? Axel <axel.kowald@gmail.com> - 2012-08-02 08:58 +0000
  Re: Using Workbench to debug Compile[] ?? David Bailey <dave@removedbailey.co.uk> - 2012-08-03 08:20 +0000
    Re: Using Workbench to debug Compile[] ?? Axel <axel.kowald@gmail.com> - 2012-08-04 10:04 +0000
      Re: Using Workbench to debug Compile[] ?? David Bailey <dave@removedbailey.co.uk> - 2012-08-05 01:50 +0000
    Re: Using Workbench to debug Compile[] ?? W Craig Carter <ccarter@MIT.EDU> - 2012-08-05 01:49 +0000

csiph-web